/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Jost', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #373737;
    background-color: #fff;
    padding-top: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#grve-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    border-bottom: none;
    padding: 15px 0;
    z-index: 9999;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#grve-header.grve-header-scrolled {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

body:not(.home-page) #grve-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Burger Menu Toggle Button */
.grve-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.grve-burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.grve-burger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #373737;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#grve-header:not(.grve-header-scrolled) .grve-burger-icon span {
    background-color: #fff;
}

.grve-mobile-menu-toggle.active .grve-burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.grve-mobile-menu-toggle.active .grve-burger-icon span:nth-child(2) {
    opacity: 0;
}

.grve-mobile-menu-toggle.active .grve-burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.grv-header-row,
.grve-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grv-logo img,
.grve-logo img {
    max-width: 250px;
    height: auto;
}

.grve-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.grve-menu > .menu-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.grve-menu > .menu-item > a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

#grve-header.grve-header-scrolled .grve-menu > .menu-item > a {
    color: #373737;
}

body:not(.home-page) .grve-menu > .menu-item > a {
    color: #373737;
}

.grve-menu > .menu-item > a:hover {
    color: #FFB716;
}

.grve-menu .menu-item-has-children {
    position: relative;
}

.grve-menu .menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

#grve-header.grve-header-scrolled .grve-menu .menu-item-has-children > a::after {
    color: #999;
}

body:not(.home-page) .grve-menu .menu-item-has-children > a::after {
    color: #999;
}

.grve-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    z-index: 1000;
    margin: 0;
    border-top: 2px solid #FFB716;
}

.grve-menu .menu-item-has-children:hover .sub-menu {
    display: block;
}

.grve-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.grve-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #373737;
    font-weight: 400;
    transition: background-color 0.3s, color 0.3s;
}

.grve-menu .sub-menu a:hover {
    background-color: #f5f5f5;
    color: #FFB716;
}

/* Hero Slider Section */
#grve-feature-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #4D74FB;
}

.grve-feature-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.grve-slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.grve-slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.grve-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.grve-slider-item.active {
    opacity: 1;
    z-index: 2;
}

.grve-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.grve-bg-image {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.grve-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.grve-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.grve-content {
    width: 100%;
    padding: 0 20px;
    margin: 0;
}

.grve-title-content-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

.grve-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.grve-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.grve-text-white {
    color: #fff;
}

.grve-button-wrapper {
    margin-top: 30px;
}

.grve-btn {
    display: inline-block;
    padding: 13px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid #fff;
}

.grve-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Carousel Navigation */
.grve-carousel-navigation {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 10;
}

.grve-nav-wrapper {
    width: 100%;
}

.grve-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.grve-nav-left-area {
    display: flex;
    gap: 20px;
}

.grve-carousel-prev,
.grve-carousel-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.grve-carousel-prev:hover,
.grve-carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.grve-carousel-prev svg,
.grve-carousel-next svg {
    fill: #fff;
}

.grve-nav-right-area {
    display: flex;
}

.flickity-page-dots {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s;
}

.flickity-page-dots .dot.is-selected {
    background-color: #fff;
}

/* About Section 1 */
.about-section-1 {
    padding: 70px 0 0;
    background: linear-gradient(350deg, #F6F6F6 66%, #FFB716 58%);
}

.about-section-1-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.about-section-1-image {
    padding: 0 0 0 20px;
}

.about-section-1-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section-1-content {
    padding: 0;
}

.about-section-1-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4%;
}

.about-section-1-header h2 {
    font-size: 33px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.btn-calculator {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 13px 20px;
    background-color: #FFB716;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 0;
    transition: background-color 0.3s;
    flex-direction: row-reverse;
}

.btn-calculator:hover {
    background-color: #e0a014;
}

.btn-icon {
    font-size: 12px;
}

.about-section-1-items {
    padding: 0 4%;
}

.about-section-1-item {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    padding: 4% 4%;
}

.about-section-1-item-number {
    font-size: 20px;
    font-weight: 700;
    color: #FFB716;
    margin-right: 10px;
    flex-shrink: 0;
}

.about-section-1-item-content {
    flex: 1;
}

.about-section-1-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    display: block;
    margin-bottom: 10px;
}

.about-section-1-item-content p {
    font-size: 17px;
    color: #373737;
    margin: 0;
    line-height: 1.6;
}

.about-section-1-item-content a {
    color: #373737;
    text-decoration: underline;
}

/* About Section 2 */
.about-section-2 {
    padding: 10px 0 0;
    background-color: #F6F6F6;
}

.about-section-2 p {
    font-size: 20px;
    line-height: 35px;
    color: #373737;
    margin: 0;
    padding: 0;
}

.about-section-2 a {
    color: #373737;
    text-decoration: underline;
}

/* About Section 3 */
.about-section-3 {
    padding: 70px 0 120px;
    background: linear-gradient(175deg, #F6F6F6 85%, #FFB716 72%);
}

.about-section-3-grid {
    display: grid;
    grid-template-columns: 52.105% 47.852%;
    gap: 0;
    align-items: start;
}

.about-section-3-content {
    padding: 0 50px 0 0;
}

.about-section-3-content h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: #373737;
    margin-bottom: 20px;
}

.about-section-3-content h2 strong {
    font-size: 30px;
    line-height: 30px;
}

.about-section-3-content p {
    font-size: 20px;
    line-height: 30px;
    color: #373737;
    margin-bottom: 20px;
}

.about-section-3-content a {
    color: #373737;
    text-decoration: underline;
}

.about-section-3-images {
    margin: 0 -50px 0 0;
    padding: 0 0 0 150px;
    z-index: 99;
    position: relative;
}

.about-section-3-images img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.about-section-3-images img:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 70px 0;
    background: linear-gradient(175deg, #F6F6F6 85%, #FFB716 72%);
}

.gallery-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

.gallery-telegram {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.gallery-telegram a {
    color: #373737;
    text-decoration: underline;
}

.gallery-section p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    color: #373737;
}

.e-gallery-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.e-gallery-justified {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}

.e-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: calc(33.333% - 7px);
    cursor: pointer;
}

.e-gallery-item:nth-child(3n+1) {
    flex-basis: calc(33.333% - 7px);
}

.e-gallery-item:nth-child(3n+2) {
    flex-basis: calc(33.333% - 7px);
}

.e-gallery-item:nth-child(3n+3) {
    flex-basis: calc(33.333% - 7px);
}

.e-gallery-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.e-gallery-image.loaded {
    opacity: 1;
}

.e-gallery-item:hover .e-gallery-image {
    transform: scale(1.05);
}

.elementor-gallery-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.e-gallery-item:hover .elementor-gallery-item__overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    padding: 16px;
    user-select: none;
    transition: color 0.3s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 18px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }
    
    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 14px;
    }
}

/* Footer Styles */
#grve-footer {
    background-color: #1D2024;
    color: #fff;
    padding: 50px 0 20px;
}

.footer_heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.contacts {
    line-height: 1.8;
}

.contacts a {
    color: #fff;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: underline;
}

.bottm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bottm a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.bottm a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-social img {
    max-height: 40px;
}

.grve-footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.grve-footer-column {
    /* Grid column styling */
}

.grve-footer-bar {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.grve-copyright p {
    margin: 0;
    color: #999;
}

/* Fixed footer widgets */
.fixed-page-widgets {
    pointer-events: none;
    position: relative;
    z-index: 10000;
}

.fixed-yandex-rating,
.fixed-contact-widget {
    position: fixed;
    pointer-events: auto;
    z-index: 10000;
}

.fixed-yandex-rating {
    left: 14px;
    bottom: 10px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    width: 150px;
    min-height: 50px;
    padding: 6px 8px;
    background: #f6f6f6;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    color: #000;
    font-family: Arial, sans-serif;
    text-decoration: none;
    line-height: 1;
}

.fixed-yandex-pin {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 50% 50% 50% 0;
    background: #ff3d00;
    color: transparent;
    transform: rotate(-45deg);
}

.fixed-yandex-score {
    margin-right: 8px;
    font-size: 12px;
    font-weight: 500;
}

.fixed-yandex-stars {
    color: #ffcc00;
    font-size: 10px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.fixed-yandex-caption {
    grid-column: 1 / -1;
    margin-top: 6px;
    color: #4d4d4d;
    font-size: 8px;
    white-space: nowrap;
}

.fixed-contact-widget {
    right: 18px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fixed-contact-link {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28));
}

.fixed-contact-link svg {
    display: block;
    width: 54px;
    height: 54px;
}

.fixed-contact-telegram,
.fixed-contact-max,
.fixed-contact-close {
    display: none;
}

.fixed-contact-widget.is-open .fixed-contact-trigger {
    display: none;
}

.fixed-contact-widget.is-open .fixed-contact-telegram,
.fixed-contact-widget.is-open .fixed-contact-max,
.fixed-contact-widget.is-open .fixed-contact-close {
    display: block;
}

.fixed-contact-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    padding: 7px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
    color: #444;
    font: 16px/1.2 Arial, sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fixed-contact-link:hover .fixed-contact-tooltip,
.fixed-contact-link:focus-visible .fixed-contact-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Bottom food banner */
.food-bottom-banner {
    position: fixed;
    right: 0;
    /* right: auto; */
    bottom: 75px;
    left: 0;
    /* left: 50%; */
    z-index: 10001;
    /* width: calc(100% - 4px);
    max-width: 1150px;
    box-sizing: border-box; */
    padding: 24px 48px;
    background: #ffcc00;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
    color: #fff;
    /* transform: translateX(-50%); */
}

.food-bottom-banner[hidden] {
    display: none;
}

.food-bottom-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1140px;
    margin: 0 auto;
}

.food-bottom-banner__text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.food-bottom-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.food-bottom-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 14px/1.2 'Jost', Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.food-bottom-banner__button--primary {
    background: #FFFFFF;
    color: #2f2f2f;
}

.food-bottom-banner__button--primary:hover,
.food-bottom-banner__button--primary:focus-visible {
    background: #ffc744;
    color: #2f2f2f;
}

.food-bottom-banner__button--close {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.food-bottom-banner__button--close:hover,
.food-bottom-banner__button--close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

@media (max-width: 600px) {
    .food-bottom-banner {
        padding: 8px 10px;
    }

    .food-bottom-banner__inner {
        flex-direction: column;
        gap: 8px;
    }

    .food-bottom-banner__text {
        font-size: 14px;
    }

    .food-bottom-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .food-bottom-banner__button {
        min-height: 30px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Responsive Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-section-1-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-section-3-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-section-3-images {
        margin: 0;
        padding: 0 0 0 20px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    #grve-header {
        background-color: #fff;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    
    #grve-header.grve-header-scrolled {
        padding: 10px 0;
    }
    
    .grv-header-row,
    .grve-header-row {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    }
    
    .grve-logo img {
        max-width: 120px;
        height: auto;
    }
    
    .grve-mobile-menu-toggle {
        display: block;
    }
    
    .grve-burger-icon span {
        background-color: #373737 !important;
    }
    
    .grve-right-area {
        position: relative;
    }
    
    .grve-header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: -10;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 60px;
    }
    
    .grve-header-menu.menu-open {
        right: 0;
    }
    
    .grve-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .grve-menu > .menu-item {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .grve-menu > .menu-item > a {
        padding: 15px 20px;
        font-size: 16px;
        color: #373737;
        display: block;
    }
    
    .grve-menu .menu-item-has-children > a::after {
        color: #999;
        float: right;
    }
    
    .grve-menu .sub-menu {
        position: static;
        display: none;
        background-color: #f5f5f5;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .grve-menu .menu-item-has-children.menu-open > .sub-menu {
        display: block;
    }
    
    .grve-menu .sub-menu li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .grve-menu .sub-menu a {
        padding: 12px 20px 12px 40px;
    }
    
    /* Overlay для закрытия меню */
    .grve-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }
    
    .grve-menu-overlay.active {
        display: block;
    }

    
    .grve-menu .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-top: none;
        background-color: #f9f9f9;
        padding-left: 20px;
    }
    
    .grve-menu .menu-item-has-children:hover .sub-menu,
    .grve-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }
    
    .grve-footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #grve-feature-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .grve-title {
        font-size: 32px;
    }
    
    .grve-description {
        font-size: 18px;
    }
    
    .grve-carousel-navigation {
        bottom: 20px;
    }
    
    .grve-nav-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .grve-carousel-prev,
    .grve-carousel-next {
        width: 35px;
        height: 35px;
    }
    
    .about-section-1-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section-1-image {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .about-section-1-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .about-section-1-items {
        padding: 0;
    }
    
    .about-section-1-item {
        padding: 4% 0;
    }
    
    .about-section-2 p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .about-section-3-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section-3-content {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .about-section-3-content h2 {
        font-size: 18px;
    }
    
    .about-section-3-content h2 strong {
        font-size: 24px;
        line-height: 28px;
    }
    
    .about-section-3-content p {
        font-size: 18px;
        line-height: 26px;
    }
    
    .about-section-3-images {
        margin: 0;
        padding: 0;
        position: static;
    }

    .gallery-section h2 {
        font-size: 28px;
    }

    .e-gallery-item {
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        flex-basis: calc(50% - 5px);
    }
    
    .e-gallery-item:nth-child(3n+1),
    .e-gallery-item:nth-child(3n+2),
    .e-gallery-item:nth-child(3n+3) {
        flex-basis: calc(50% - 5px);
    }
}

/* Calculator Page Styles */
#grve-theme-content {
    width: 100%;
}

/* Page Title Section */
#grve-page-title {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.grve-title-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.grve-title-section.grve-bg-white {
    background-color: #fff;
}

.grve-title-section.grve-small-height {
    min-height: auto;
    padding: 0;
    margin: 0;
}

.grve-content-container {
    position: relative;
    z-index: 2;
}

.grve-align-center {
    text-align: center;
}

.grve-align-center-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grve-text-black {
    color: #000;
}

.grve-page-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0;
    padding: 0;
}

.grve-title-animation-item {
    opacity: 1;
    visibility: visible;
}

/* Content Wrapper Styles */
.grve-single-wrapper {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

#grve-content {
    width: 100%;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.grve-content-wrapper {
    width: 100%;
}

#grve-main-content {
    width: 100%;
}

.grve-main-content-wrapper {
    width: 100%;
}

.grve-entry-item {
    width: 100%;
}

.grve-section {
    width: 100%;
    position: relative;
}

.grve-row-section {
    display: block;
}

.grve-fullwidth-background {
    width: 100%;
}

.grve-padding-top-1x {
    padding-top: 10px;
}

.grve-padding-bottom-1x {
    padding-bottom: 20px;
}

.grve-with-bg-transparent {
    background-color: transparent;
}

.grve-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.grve-columns-gap-default {
    gap: 30px;
}

.grve-mobile-vertical-gap-30 {
    gap: 30px;
}

.grve-column {
    flex: 1;
    min-width: 0;
}

.grve-column-wrapper {
    width: 100%;
}

.grve-column-content {
    width: 100%;
}

.grve-element {
    width: 100%;
}

.grve-text {
    width: 100%;
    text-align: center;
}

.grve-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: center;
}

.grve-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 20px;
    line-height: 1.4;
}

.grve-text h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0;
    line-height: 1.4;
}

.grve-text a {
    color: #000;
    text-decoration: underline;
}

.grve-text a:hover {
    color: #FFB716;
}

.grve-text ol {
    margin: 15px auto;
    padding-left: 30px;
    text-align: left;
    display: inline-block;
    max-width: 900px;
}

.grve-text ol li {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
}

/* Oferta Section - единый стиль для всех элементов */
#oferta {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
}

#oferta h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 20px;
    line-height: 1.4;
    text-align: center;
}

#oferta ol {
    margin: 15px auto;
    padding-left: 30px;
    text-align: left;
    display: block;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    list-style-type: decimal;
    list-style-position: outside;
}

#oferta ol li {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
    display: list-item;
    list-style-type: inherit;
}

#oferta p {
    margin: 15px auto;
    text-align: left;
    max-width: 900px;
    line-height: 1.6;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#oferta p strong {
    display: block;
    margin-bottom: 10px;
}

#oferta img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

#oferta a {
    color: #000;
    text-decoration: underline;
}

#oferta a:hover {
    color: #FFB716;
}

/* Responsive для секции оферты */
@media (max-width: 768px) {
    #oferta {
        padding: 15px 10px;
    }
    
    #oferta ol,
    #oferta p {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 10px;
    }
    
    #oferta h3 {
        font-size: 24px;
        margin: 20px 0 15px;
    }
}

@media (max-width: 768px) {
    .grve-mobile-vertical-gap-30 {
        gap: 20px;
    }
    
    .grve-column {
        flex: 1 1 100%;
    }
}

/* Inner Section Styles */
.grve-inner-section {
    width: 100%;
    position: relative;
}

.grve-row-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.grve-column-inner {
    flex: 1;
    min-width: 0;
}

.grve-column-wrapper-inner {
    width: 100%;
}

.grve-column-inner-content {
    width: 100%;
}

.wpb_raw_code {
    width: 100%;
}

.wpb_content_element {
    width: 100%;
}

.wpb_wrapper {
    width: 100%;
}

#calc_all {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

/* Payment Section Styles */
#payment {
    width: 100%;
    margin: 20px auto;
    text-align: center;
    max-width: 800px;
}

#payment ol {
    margin: 15px auto;
    padding-left: 30px;
    text-align: left;
    display: inline-block;
}

#payment li {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
}

.flex_column {
    width: 100%;
    display: block;
}

.av_one_full {
    width: 100%;
}

.flex_column_div {
    width: 100%;
}

.av-zero-column-padding {
    padding: 0;
}

.av_textblock_section {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.av_textblock_section img {
    max-width: 768px;
    width: auto;
    height: auto;
    display: block;
    margin: 10px auto;
}

.alignnone {
    float: none;
    margin: 0;
    text-align: center;
}

.size-full {
    max-width: 768px;
    width: auto;
    height: auto;
}

.wp-image-8299,
.wp-image-8301,
.wp-image-8302,
.wp-image-8303,
.wp-image-8304,
.wp-image-8305 {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.grve-text img {
    max-width: 1259px;
    width: auto;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Privacy Policy Section Styles */
a[name="polityka_konfedencialnosty"],
a[name="obrazec_eskiza"],
a[name="ploskoe"],
a[name="obiomnoe"],
a[name="publichnaya oferta"] {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.av-special-heading {
    margin: 20px auto;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
}

.av-special-heading-h2 {
    font-size: 24px;
    font-weight: 600;
}

.blockquote {
    margin: 20px auto;
    padding: 0;
    text-align: center;
    max-width: 800px;
}

.modern-quote {
    border-left: none;
    padding-left: 0;
}

.av-thin-font {
    font-weight: 300;
}

.av_textblock_section {
    text-align: center;
}

.av_textblock_section ul {
    margin: 15px auto;
    padding-left: 30px;
    text-align: left;
    display: inline-block;
    max-width: 800px;
}

.av_textblock_section li {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
}

/* Product Page */
.product-page #grve-page-title {
    padding-top: 100px;
}

.product-page .grve-wrapper {
    min-height: 180px;
}

.product-intro,
.product-section,
.product-cta {
    padding: 60px 0;
}

.product-intro {
    text-align: center;
    background: #fff;
}

.product-intro h2,
.product-section-heading h2,
.product-cta h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #000;
    text-transform: uppercase;
}

.product-intro h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 20px auto;
    max-width: 900px;
}

.product-intro p,
.product-section-heading p,
.product-cta p {
    max-width: 900px;
    margin: 0 auto 16px;
    font-size: 18px;
    line-height: 1.7;
}

.product-intro a,
.product-section a {
    color: #000;
    text-decoration: underline;
}

.product-intro a:hover,
.product-section a:hover {
    color: #FFB716;
}

.product-telegram {
    color: #000;
}

.product-section-light {
    background: #F6F6F6;
}

.product-section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-grid-small {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: #fff;
    padding: 18px;
    text-align: center;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
    margin-bottom: 14px;
}

.product-card p {
    margin: 0 0 5px;
    font-size: 17px;
    color: #000;
}

.product-card strong {
    color: #FFB716;
    font-size: 17px;
}

.product-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-photo-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.product-actions .btn-calculator {
    text-decoration: none;
}

.product-cta {
    text-align: center;
    background: #FFB716;
    color: #000;
}

.product-cta .grve-btn {
    margin-top: 18px;
}

.podokonniki-gallery img {
    height: 260px;
}

.stoleshnitsyi-gallery img {
    height: 260px;
}

.podokonniki-features .product-card,
.product-features .product-card {
    text-align: left;
}

.podokonniki-features h3,
.product-features h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #000;
}

.podokonniki-features .product-card p,
.product-features .product-card p {
    font-size: 17px;
    line-height: 1.6;
    color: #373737;
}

.about-company-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-company-text h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.about-company-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-company-text a {
    color: #000;
    text-decoration: underline;
}

.about-company-text a:hover {
    color: #FFB716;
}

.about-company-image img {
    width: 100%;
    display: block;
}

.about-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.about-reviews-grid img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.about-gallery img {
    height: 250px;
}

.faq-list {
    max-width: 980px;
    margin: 0 auto;
}

.faq-original-section .av-special-heading-tag {
    max-width: 980px;
    margin: 0 auto 25px;
    font-size: 14px;
    color: #000;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 28px;
    margin-bottom: 22px;
}

.faq-item h2 {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 14px;
    color: #000;
}

.faq-item p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-item ul {
    margin: 0 0 12px 20px;
    font-size: 17px;
    line-height: 1.7;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item a {
    color: #000;
    text-decoration: underline;
}

.faq-item a:hover {
    color: #FFB716;
}

.faq-image-grid img {
    height: auto;
    object-fit: contain;
    background: #fff;
    padding: 0;
}

.faq-images-section {
    padding-top: 20px;
}

.ya-rate {
    max-width: 980px;
    margin: 25px auto 0;
}

.locations-text {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.locations-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.locations-text a {
    color: #000;
    text-decoration: underline;
}

.locations-text a:hover {
    color: #FFB716;
}

.locations-images-section {
    padding-top: 10px;
}

.locations-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.locations-images-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.locations-rate-section {
    padding: 10px 0 40px;
}

.locations-ya-rate iframe {
    box-shadow: 0 1.93465px 7.73859px rgb(0 0 0 / 15%);
}

.public-offer-text {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.public-offer-text p,
.public-offer-text li {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.public-offer-text h2,
.public-offer-text h3 {
    text-align: left;
}

.public-offer-text ol {
    padding-left: 28px;
    margin: 16px 0;
}

.public-offer-text li {
    margin-bottom: 12px;
}

.public-offer-text a {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .product-grid,
    .product-grid-small,
    .product-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-company-grid,
    .about-reviews-grid,
    .locations-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-page #grve-page-title {
        padding-top: 70px;
    }

    .product-page .grve-page-title {
        font-size: 30px;
    }

    .product-intro,
    .product-section,
    .product-cta {
        padding: 40px 0;
    }

    .product-intro h2,
    .product-section-heading h2,
    .product-cta h2 {
        font-size: 24px;
    }

    .product-intro h3 {
        font-size: 19px;
    }

    .product-grid,
    .product-grid-small,
    .product-photo-grid,
    .about-company-grid,
    .about-reviews-grid,
    .locations-images-grid {
        grid-template-columns: 1fr;
    }

    .product-photo-grid img {
        height: 230px;
    }
}
