:root {
    --color-primary: #65B530;
    --color-primary-dark: #4d9122;
    --color-secondary: #9B9B9B;
    --color-light: #F5F5F5;
    --color-dark: #161616;
    --color-muted: #6c757d;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-surface: #ffffff;
    --color-surface-soft: #f8f9fa;
    --color-footer-bg: #101010;

    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-navbar: 0 4px 16px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --container-max: 1320px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-dark);
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;

}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.section-heading-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
}

.text-brand {
    color: var(--color-primary);
}

/* Utility */
.app-hidden {
    display: none !important;
}

/* Inner page header */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 3rem 0;
    overflow: hidden;
    background-color: #121212;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.45) 0%,
                    rgba(0, 0, 0, 0.60) 100%
            ),
            url("../images/Guruwalk-mix.jpg") center center / cover no-repeat;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.page-hero--compact {
    min-height: 120px;
    padding: 2rem 0;
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 140px;
        padding: 2rem 0;
    }

    .page-hero__title {
        font-size: 2rem;
    }
}

/* Topbar */
.topbar {
    background: linear-gradient(
            90deg,
            rgba(48, 126, 2, 0.52),
            rgba(3, 64, 129, 0.54)
    );
    border-bottom: 1px solid var(--color-border);
}
/* EO: Topbar */

/* Navbar */
.site-navbar {
    background-color: rgb(255, 255, 255);
    backdrop-filter: none;
    box-shadow: none;
    transition: top .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.site-navbar.is-sticky {
    box-shadow: var(--shadow-navbar);
}

.site-brand {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}

.site-brand:hover {
    color: var(--color-primary-dark);
}

.site-nav-link {
    color: var(--color-dark);
    font-weight: 600;
    padding: 1rem 0;
    transition: color .2s ease, background-color .2s ease;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: var(--color-primary) !important;
}

.site-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

.site-user-chip img {
    display: block;
    border-radius: 3px;
}

.site-status-badge {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.32rem 0.7rem;
}
/* EO: Navbar */

/* Login */
.auth-form-actions {
    /*max-width: 540px;*/
    /*margin: 1rem auto 1.5rem;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-button {
    width: 230px;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .auth-form-actions {
        max-width: 100%;
        padding: 0 0.25rem;
    }

    .auth-button {
        width: 70%;
    }
}
/* EO: Login */

/* Logout */
.logout-link {
    background: none;
    border: none;
    padding: 1rem 0;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.logout-link:hover {
    color: var(--color-primary);
}
/* EO: Logout */

/* Mobile navbar */
@media (max-width: 991.98px) {
    .site-brand {
        font-size: 1.35rem;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        border-radius: 10px;
        border: 1px solid var(--color-border);
        box-shadow: none;
        transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
    }

    .navbar-toggler:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    .navbar-toggler:active {
        transform: scale(0.98);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,37,41,0.85%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        transition: opacity .2s ease;
    }

    .navbar-collapse {
        background: #ffffff;
        margin-top: 12px;
        margin-bottom: 10px;
        padding: 12px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        transition: height 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
        overflow: hidden;
    }

    .navbar-collapse.collapsing {
        opacity: 1;
    }

    .navbar-collapse.show {
        opacity: 1;
    }

    .site-nav-group + .site-nav-group {
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid #eeeeee;
    }

    .site-nav-link,
    .logout-link {
        display: block;
        margin-right: 0 !important;
        padding: 0.8rem 0.8rem !important;
        border-radius: 10px;
        line-height: 1.35;
    }

    .site-nav-link:hover,
    .logout-link:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .site-nav-link.active {
        background: rgba(101, 181, 48, 0.12);
    }

    .site-nav-link i,
    .logout-link i {
        width: 18px;
        text-align: center;
        opacity: 0.65;
        transition: opacity .2s ease, color .2s ease;
    }

    .site-nav-link:hover i,
    .logout-link:hover i,
    .site-nav-link.active i,
    .logout-link.active i {
        opacity: 1;
    }

    .mobile-user-card {
        padding-bottom: 0.5rem;
    }

    .mobile-user-card-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        background: var(--color-surface-soft);
        border: 1px solid var(--color-border);
        border-radius: 10px;
    }

    .mobile-user-flag {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid var(--color-border);
        border-radius: 50%;
        flex: 0 0 auto;
    }

    .mobile-user-label {
        display: block;
        font-size: 0.72rem;
        line-height: 1.2;
        color: var(--color-muted);
        letter-spacing: 0.04em;
        margin-bottom: 2px;
    }

    .mobile-user-email {
        display: block;
        font-size: 0.88rem;
        line-height: 1.3;
        color: #212529;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-status .btn,
    .mobile-status .badge {
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.2;
        padding: 0.32rem 0.7rem;
    }

    /* Fix home layout stacking */
    .home-split,
    .home-split--reverse {
        grid-template-columns: 1fr;
    }

    .home-split--reverse .home-split__media,
    .home-split--reverse .home-split__content {
        order: initial;
    }

    .home-split__media {
        min-height: 320px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (min-width: 992px) {
    .site-navbar .navbar-nav .nav-link {
        margin-right: 1.4rem;
    }

    .site-navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 140%;
        opacity: 0;
        visibility: hidden;
        transition: all .25s ease;
        box-shadow: var(--shadow-soft);
        border-radius: 12px;
        padding: 0.5rem;
    }

    .site-navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }

    .site-navbar .dropdown-item {
        border-radius: 8px;
    }

    .site-navbar .dropdown-item:hover {
        background-color: rgba(101, 181, 48, 0.08);
        color: var(--color-primary);
    }
}

/* Footer */
.site-footer {
    margin-top: 1rem;
    background: var(--color-footer-bg);
    color: var(--color-secondary);
    overflow: hidden;
}

.site-footer-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.site-footer-link {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-secondary);
    transition: color .2s ease, transform .2s ease;
}

.site-footer-link:hover {
    color: var(--color-primary);
    transform: translateX(2px);
}

.site-footer-link::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
}

.site-footer-bottom {
    background: #000000;
    color: #c8c8c8;
}

.site-footer-brand {
    color: #ffffff;
    font-weight: 700;
}

.site-footer-brand:hover {
    color: var(--color-primary);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.back-to-top.show {
    display: inline-flex;
}

/* Existing custom pieces you still need */
.table-dark thead th {
    background-color: #3a200c !important;
    border-color: #ffffff !important;
}

.forgot-password-link {
    color: #007bff;
}

.forgot-password-link:hover {
    color: #0056b3;
}

/* Home hero */
.home-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #121212;
    width: 100%;
    max-width: 100%;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
}

.home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.35) 0%,
                    rgba(0, 0, 0, 0.55) 45%,
                    rgba(0, 0, 0, 0.7) 100%
            );
    width: 100%;
    max-width: 100%;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-hero__title {
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 800;
}

.home-hero__text {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero__button {
    min-width: 170px;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.home-hero__button--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.site-footer .row {
    margin-left: 0;
    margin-right: 0;
}

/* Home content sections */
.home-section {
    padding: 4.5rem 0;
}

.home-section--soft {
    background-color: var(--color-light);
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.home-split--reverse .home-split__media {
    order: 2;
}

.home-split--reverse .home-split__content {
    order: 1;
}

.home-split__media {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #e9ecef;
}

.home-split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-split__content {
    padding: 1rem 0;
    min-width: 0;
}

.home-section__title {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
}

.home-section__text {
    margin-bottom: 1rem;
    color: #424242;
    font-size: 1.05rem;
    line-height: 1.8;
}

.home-pill-button {
    margin-top: 0.75rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.feature-card__icon img {
    max-width: 32px;
    max-height: 32px;
    display: block;
}

.feature-card__eyebrow {
    margin: 0 0 0.15rem;
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.feature-card__title {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card__icon--font {
    color: var(--color-primary);
    font-size: 1.4rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .home-section__title {
        font-size: 1.9rem;
    }

    .home-section__text {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1rem;
        align-items: flex-start;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card__title {
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        min-height: 68vh;
    }

    .home-hero__content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero__button {
        width: 100%;
    }
}

/*Promotion*/
.promo-banner {
    background: linear-gradient(90deg, #65B530, #4d9122);
    color: #ffffff;
    padding: 0.85rem 0;
}

.promo-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.promo-banner__badge {
    display: inline-block;
    margin-right: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promo-banner__title {
    margin-right: 0.5rem;
    font-weight: 800;
}

.promo-banner__message {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.2;
}

.promo-banner__price {
    animation: promo-price-pulse 2.4s ease-in-out infinite;
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 1.25em;
    font-weight: 900;
}

@keyframes promo-price-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
    }
}

.promo-banner__note {
    margin-left: 0.4rem;
    font-size: 0.85em;
    opacity: 0.85;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .promo-banner {
        padding: 0.5rem 0;
    }

    .promo-banner__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        text-align: center;
    }

    .promo-banner__badge,
    .promo-banner__title {
        display: block;
        margin-right: 0;
        margin-bottom: 0.35rem;
    }

    .promo-banner__badge {
        background: rgba(255, 255, 255, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.35);
    }
}
/*ЕО:Promotion*/

/*Images*/
/*.panda-beach {*/
/*    width: 50%;*/
/*    max-width: 100%;*/
/*}*/

/*@media (min-width: 992px) {*/
/*    .panda-beach {*/
/*        width: 50%;*/
/*    }*/
/*}*/
/*ЕО:Images
*/