/* Color */
:root {
    --bg: #F5F5F5;
    --card: #FFFFFF;

    --text: #1C1C1E;
    --text-secondary: #8E8E93;

    --accent: #F4B63E;

    --brown: #7A4A3A;
    --green: #8FAE3C;
    --gray-brown: #8C8575;

    --light: #EFEFEF;

    --pastel-pink: #f1c7c1;
    --pastel-purple: #d7c7f2;
    --pastel-beige: #f1e2c6;
    --pastel-green: #a3eab3;

    --nav: #2C2C2E;
}

.bg-pastel-pink {
    background: var(--pastel-pink);
}

.bg-pastel-purple {
    background: var(--pastel-purple);
}

.bg-pastel-beige {
    background: var(--pastel-beige);
}

.bg-pastel-green {
    background: var(--pastel-green);
}

.bg-nav {
    background: var(--nav);
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mainholder {
    color: var(--nav);
}

.handle {
    width: 40px;
    height: 5px;
    background: #ccc;
    border-radius: 10px;
}

.offcanvas-bottom {
    height: 50vh !important;
}

input:focus {
    outline: none !important;
}

.mainsearch {
    padding: 0.9rem;
    border-radius: 0 50px 50px 0;
    background: rgba(255, 255, 255, 0.2);
    border-left:none;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.4); 
    outline: none;
}

.mainsearchR {
    padding-left: 25px;
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.2);
    border-right: none;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.4);
    color: rgba(0,0,0,0.5);
}
.mainsearchL {
    padding-left: 25px;
    border-radius: 0 50px 50px 0;
    background: rgba(255, 255, 255, 0.2);
    border-right: none;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.4);
    color: rgba(0,0,0,0.5);
}

.maininput {
    padding: 0.7rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-left:none;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.4); 
    outline: none;
    width: 100%;
}

.mainsearch::placeholder, .maininput::placeholder {
    color: rgba(0,0,0,0.5);
}

.mainsearch:focus, .maininput:focus {
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.3);
}

body {
    color: var(--text);
    background: var(--bg);
}

.btn-accent {
    background: var(--accent);
    color: var(--light);
} 


select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}




/* BOTTOM MENU START */
.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 1000;

    width: calc(100% - 32px);
    max-width: 420px;
    height: 84px;

    background: #ffffff;
    border-radius: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-item {
    flex: 1;
    text-decoration: none;
    color: #8E8E93;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    font-size: 12px;
    font-weight: 500;
}

.nav-item i {
    font-size: 22px;
    line-height: 1;
}

.nav-item.active {
    color: #1C1C1E;
}

.nav-center {
    flex: 0 0 auto;
}

.nav-center-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F4B63E;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(244, 182, 62, 0.35);
}

.nav-center-btn i {
    font-size: 24px;
    color: #1C1C1E;
}






.menu-wrapper {
    position: relative;
    width: 70px;
}

.menu-dropdown {
    position: absolute;
    bottom: 80px; /* ВАЖНО — вверх от кнопки */
    right: 0;

    background: #fff;
    border-radius: 16px;
    padding: 10px;

    width: 180px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: 0.25s;
}

.menu-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #1C1C1E;
    border-radius: 10px;
}

.menu-dropdown a:hover {
    background: #f5f5f5;
}

.menu-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
    height: 100%;
}

.bottom-nav {
    align-items: center;
}
/* BOTTOM MENU START */

/* CAROUSEL START */

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 15px;

    scroll-snap-type: x mandatory;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 160px;
    height: 100px;
    border-radius: 20px;
    padding: 12px;
    color: #fff;
    position: relative;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.category-card span {
    font-size: 16px;
    font-weight: 500;
}

.category-card img {
    position: absolute;
    right: -10px;
    bottom: -10px;
    height: 70px;
}

.category-card span {
    width: 100%;
    text-align: center;
}

.mascards {
    height: 50px !important;
    padding: 0px !important;
}

/* CAROUSEL END */

/* TYPING START */
.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1C1C1E;
    text-align: center;
}

#typing-text::after {
    content: "|";
    display: inline-block;
    margin-left: 4px;
    animation: blink 0.8s infinite;
    color: #1C1C1E;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
/* TYPING END */

/* CARD START */
.business-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;

    padding: 22px 20px;
    margin-top: 14px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    color: #1f1f1f;
}

.business-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.business-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    background: #ececec;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.business-card__title-wrap {
    flex: 1;
    min-width: 0;
}

.business-card__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: #151515;
}

.business-card__subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #7b7b84;
}

.business-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(240, 184, 61, 0.18);
    color: #b88212;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.business-card__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.business-card__item {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 14px;
}

.business-card__label {
    font-size: 13px;
    color: #8a8a93;
    margin-bottom: 6px;
}

.business-card__value {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1e;
    line-height: 1.3;
}

.business-card__desc {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.business-card__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.business-card__btn {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.business-card__btn--primary {
    background: #f0b83d;
    color: #1f1f1f;
    box-shadow: 0 8px 18px rgba(240, 184, 61, 0.28);
}

.business-card__btn--secondary {
    background: rgba(255, 255, 255, 0.75);
    color: #202020;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.business-card__btn:active {
    transform: scale(0.98);
}
/* CARD END */

/* V-CARD START */
.v-card {
    background: #f5f5f5;
    border-radius: 34px;
    padding: 22px 18px 18px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.v-card__top {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.v-card__logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f0f0f0;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.v-card__head {
    min-width: 0;
    text-align: center;
}

.v-card__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
}

.v-card__id {
    margin-top: 6px;
    font-size: 16px;
    color: #8e8e93;
}

.v-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 54px;
    padding: 0 16px;
    border-radius: 27px;
    background: #f6ead1;
    color: #c28d18;
    font-size: 18px;
    font-weight: 800;
}

.v-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.v-card__cell {
    background: #f8f8f8;
    border-radius: 24px;
    padding: 22px 16px;
    text-align: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 8px 20px rgba(0,0,0,0.03);
}

.v-card__label {
    font-size: 16px;
    color: #93939a;
    margin-bottom: 12px;
}

.v-card__value {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
    color: #181818;
}

.v-card__desc {
    background: #f8f8f8;
    border-radius: 28px;
    padding: 22px 18px;
    text-align: center;
    color: #404040;
    font-size: 16px;
    line-height: 1.65;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 8px 20px rgba(0,0,0,0.03);
}

.v-card__desc p {
    margin: 0 0 14px;
}

.v-card__desc p:last-child {
    margin-bottom: 0;
}

.v-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.v-card__btn {
    height: 74px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.v-card__btn:active {
    transform: scale(0.985);
}

.v-card__btn--primary {
    background: #efb93c;
    color: #171717;
    box-shadow: 0 12px 24px rgba(239, 185, 60, 0.28);
}

.v-card__btn--secondary {
    background: #f8f8f8;
    color: #1e1e1e;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 8px 20px rgba(0,0,0,0.03);
}

@media (max-width: 480px) {
    .v-card {
        border-radius: 28px;
        padding: 18px 14px 14px;
    }

    .v-card__top {
        grid-template-columns: 52px 1fr auto;
        gap: 10px;
    }

    .v-card__logo {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .v-card__title {
        font-size: 22px;
    }

    .v-card__id {
        font-size: 14px;
    }

    .v-card__badge {
        min-width: 64px;
        height: 46px;
        border-radius: 23px;
        font-size: 16px;
    }

    .v-card__cell {
        border-radius: 20px;
        padding: 18px 12px;
    }

    .v-card__label {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .v-card__value {
        font-size: 20px;
    }

    .v-card__desc {
        border-radius: 22px;
        font-size: 15px;
        padding: 18px 14px;
    }

    .v-card__btn {
        height: 62px;
        border-radius: 22px;
        font-size: 18px;
    }
}
/* V-CARD END */