/*
 Theme Name:   Anrico
 Theme URI:    https://pixel.sk
 Author:       Pixel
 Author URI:   https://pixel.sk
 Template:     innovat
 Version:      1.2
 Tags:
 */


h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}


html, body {
    overflow-x: clip !important;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}


.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content {
    bottom: 30px !important;
}


.banner-area-six {
    background-image: url(/wp-content/uploads/2024/11/—Pngtree—contemporary-black-kitchen-in-stunning_3703085-scaled.jpg);
    background-size: cover !important;
    background-repeat: no-repeat;
}

.rts-banner-slider-style5 .banner-area-six .banner-content-inner-six .title p {
    text-transform: none !important;
    font-weight: 400 !important;
}


.eshopmenu a {
    color: #ddb75d !important;
}

.material-icons {
    vertical-align: middle;
    margin-right: 8px;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .big-thumbnail-area {
    position: relative !important;
    overflow: hidden !important;
}

.reactheme-breadcrumbs .page-title {
    font-weight: 400 !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .big-thumbnail-area::before {
    position: absolute !important;
    content: "" !important;
    inset: 0 !important;
    background: #141517 !important;
    opacity: 0.5 !important;
    z-index: 10 !important;
    pointer-events: none !important;
    transition: all 0.4s ease !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:hover .big-thumbnail-area::before {
    opacity: 0.7 !important;
    background: #141517 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .big-thumbnail-area::after {
    position: absolute !important;
    content: "" !important;
    inset: 20px !important;
    border: 2px solid #EECA77 !important;
    opacity: 0 !important;
    z-index: 11 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:hover .big-thumbnail-area::after {
    opacity: 1 !important;
    inset: 15px !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .big-thumbnail-area img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:hover .big-thumbnail-area img {
    transform: scale(1.05) !important;
    filter: blur(2px) !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner {
    position: relative !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content {
    position: absolute !important;
    bottom: 30px !important;
    left: 30px !important;
    right: 30px !important;
    z-index: 20 !important;
}

.query-list .message {
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content .title {
    color: #ffffff !important;
    font-size: 38px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
    letter-spacing: 2px !important;
    font-weight: 400 !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:after {
    display: none !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content .category,
.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content .category a {
    color: #EECA77 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner .content .category .separator {
    color: #EECA77 !important;
    margin: 0 5px !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:hover .content .title {
    transform: translateY(-5px) !important;
}

.grid-portfolio.rt-portfolio-style6 .portfolio-inner:hover .content .category {
    transform: translateY(-3px) !important;
}

.submenu-odkazy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;  /* Changed from center */
    -ms-flex-pack: start;      /* Changed from center */
    justify-content: flex-start;  /* Changed from center to flex-start */
    gap: 8px;
    margin: 0 auto;
    padding: 0 20px;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
}

/* Add scroll snap to individual items */
.submenu-odkazy li {
    scroll-snap-align: start;  /* Snap to start of each item */
    scroll-snap-stop: always;  /* Optional: forces stop at each item */

    /* Keep your existing styles */
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    flex-shrink: 0;  /* Add this to prevent items from shrinking */
}

.submenu-odkazy li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
}

.menu-sticky-wrapper {
    position: sticky;
    top: 0;
    background: rgb(26 23 42 / 61%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



.submenu-odkazy li {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.submenu-odkazy li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.submenu-odkazy li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    gap: 8px;

}

.submenu-odkazy li a span {
    font-size: 30px;
    margin-bottom: 3px;
}

.material-icons-outlined {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.submenu-odkazy li:hover .material-icons-outlined {
    color: rgba(255, 255, 255, 0.9);
}

.submenu-odkazy li.active {
    background: rgba(255, 255, 255, 0.15);
}

.submenu-odkazy li.active a span {
    color: #eeca77 !important;
}

.submenu-odkazy li.active a {
    font-weight: bold;
    color: #fff !important;
}

.submenu-odkazy li.active .material-icons-outlined {
    color: #fff;
}

.elementor-sticky--active .submenu-odkazy li {
    min-width: 60px;
    padding: 0;
    display: flex;
}

.elementor-sticky--active .submenu-odkazy li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    gap: 8px;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    text-align: left;
}


#reactheme-header .sticky-wrapper {
    z-index: 10 !important;
}

.blurme {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background: rgb(26 23 42 / 61%);
    -webkit-box-shadow: 1px 20px 50px -50px var(--e-a-bg-logo);
    box-shadow: 1px 20px 50px -50px var(--e-a-bg-logo);
}

.mat_banner {
    --corner-size: 30px;
    --gradient-size: calc(var(--corner-size) * var(--sin45) - var(--border-size) * 0.4);
    --border-size: 1px;
    --border-color: #DDB75D;
    --sin45: 0.70;
    clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100%, 0% var(--corner-size));
    /* border: 1px solid red; */
    background-image: linear-gradient(315deg, var(--border-color) var(--gradient-size), transparent var(--gradient-size));
    transition: all 0.2s;
}


.menu-area .navbar ul li ul.sub-menu {
    display: flex
;
    flex-direction: column;
}

.mat_banner .elementor-button {
    --corner-size: 20px;
    --gradient-size: calc(var(--corner-size) * var(--sin45) - var(--border-size) * 0.4);
    --border-size: 1px;
    --sin45: 0.70;
    --border-color: #DDB75D;
    background-image: linear-gradient(315deg, var(--border-color) var(--gradient-size), transparent var(--gradient-size));
    clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100%, 0% var(--corner-size));
}

h1 small {
    display: block;
}

.mat_banner .scaleimage {
    position: relative;

}

.mat_banner .scaleimage:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #141517, #14151700);
    pointer-events: none;
}


.mat_banner * {

    transition: all 0.2s;
}

.mat_banner:hover * {
    transition: all 0.2s;
}

.blurme::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('/wp-content/uploads/2024/11/pexels-karolina-grabowska-6634140-scaled.webp');*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.sidenav .widget_nav_menu ul li a {
    border-bottom: 1px solid #323438 !important;
}

.iconhover {
    transition: all 0.2s;
}

.iconhover:hover {
    transition: all 0.2s;
    transform: scale(1.05);
}


.banner-bg-2 {
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {

    .submenu-odkazy li a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 6px 12px;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.2;
        gap: 8px;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        text-align: left;
        width: max-content !important;

    }

    .elementor-sticky--active .submenu-odkazy li a {

        font-size: 12px;
    }

    .menu-sticky-wrapper {
        padding-right: 10px 0;
        overflow-x: scroll;
    }

    .rt--slider .title p {
        line-height: 1.4 !important;
    }

    .elementor-sticky--active .submenu-odkazy li {
        display: table;
    }


}

@media (max-width: 1200px) {

    .elementor-sticky--active .submenu-odkazy li {
        display: table !important;
    }
}
@media (min-width: 1200px) {
    h1 small {
        font-size: 40px;
        line-height: 1.4 !important;
        color: #dae1e8;
        min-height: auto;
        height: min-content !important;
        display: block;
    }

    .rts-banner-slider-style5 .banner-area-six .banner-content-inner-six .disc p {
        max-width: 55%;
        color: #dae1e8;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: 1px;
        text-transform: uppercase;
        line-height: 1.8;
    }
}


/* Desktop */
@media (max-width: 1580px) {
    #menu-hlavne-menu > li {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header-inner .menu-area .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .header-inner .menu-area .navbar ul li a {
        text-align: left;
    }

    .no-break {
        white-space: nowrap;
    }
}

@media (max-width: 1440px) {
    /* Standard desktop */
}

/* Small Desktop */
@media (max-width: 1366px) {
    /* Laptop screens */
}

/* Laptop */
@media (max-width: 1280px) {
    /* Small laptop screens */
}

/* Small Laptop */
@media (max-width: 1024px) {
    /* iPad Pro/Large tablets */
}

/* Tablet Landscape */
@media (max-width: 992px) {
    /* Tablet landscape mode */
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* iPad and similar tablets */
}

/* Large Mobile Landscape */
@media (max-width: 700px) {
    .fiximagemobile {

    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    /* Most phones in landscape */
}

/* Mobile Portrait */
@media (max-width: 480px) {
    /* Most phones in portrait */
}

/* Small Mobile */
@media (max-width: 375px) {
    /* iPhone SE/Small phones */
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    /* Very small devices */
}

@media (prefers-reduced-motion: reduce) {
    * {
        -webkit-animation-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
        -o-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.brand-logo {
    width: 100%;
    height: 32px;
    object-fit: contain;
    object-position: center;
    display: inline-block;
    vertical-align: middle;
    min-height: 50px;
}

.submenu-odkazy .scroll-link .brand-logo {
    width: 100%;
    height: 32px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 2px;
    display: block;
}

.submenu-odkazy .scroll-link .material-icons-outlined {
    font-size: 32px;
    margin-right: 8px;
}

@media (max-width: 700px) {
    .brand-logo {
        display: none;
    }
}

.brand-logo {
    width: 100%;
    height: 32px;
    object-fit: contain;
    object-position: center;
    display: inline-block;
    vertical-align: middle;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 2px;
    margin-bottom: 3px;
}

.submenu-odkazy .scroll-link .material-icons-outlined {
    font-size: 30px;
    margin-bottom: 3px;
}

/* Sticky mode adjustments */
.elementor-sticky--active .submenu-odkazy .scroll-link .brand-logo {
    width: 60px;
    height: 24px;
    margin-bottom: 0;
    margin-right: 8px;
    padding: 2px;
    min-height: auto;
}

.elementor-sticky--active .submenu-odkazy .scroll-link .material-icons-outlined {
    font-size: 24px;
    margin-bottom: 0;
    margin-right: 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .submenu-odkazy .scroll-link .brand-logo {
        width: 60px;
        height: 20px;
        margin-bottom: 0;
        margin-right: 6px;
        padding: 2px;
    }

    .submenu-odkazy .scroll-link .material-icons-outlined {
        font-size: 20px;
        margin-bottom: 0;
        margin-right: 6px;
    }
}

@media (max-width: 700px) {
    .brand-logo {
        display: none;
    }
}

.banner-area-six {
    position: relative;
}

.banner-area-six::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.banner-content-inner-six {
    position: relative;
    z-index: 2;
}

.elementor-gallery-item__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(to bottom,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.7) 100%) !important;
    transition: backdrop-filter 0.3s ease !important;
}

/* Add blur only on hover */
.e-gallery-item:hover .elementor-gallery-item__overlay {
    backdrop-filter: blur(4px) !important;
}

/* Position title content at the left bottom */
.elementor-gallery-item__content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    padding: 15px 20px !important;
    text-align: left !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

/* Style the title with bigger gold text */
.elementor-gallery-item__title {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    animation: none !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 28px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    transition: all 0.3s ease !important;
    letter-spacing: 1.5px;
}

/* Override any animation classes */
.elementor-animated-item--fade-in,
.elementor-animated-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.elementor-gallery-item__content {
    justify-content: flex-end;
}

@media only screen and (max-width: 767px) {
    .reactheme-breadcrumbs .breadcrumbs-inner {
        padding-top: 60px !important;
    }
}

#reactheme-header .sticky-wrapper .sticky {
    background: rgba(31, 31, 37, 0.65) !important;
}

#reactheme-header .sticky-wrapper .sticky .bg-remove {
    background: none !important;
}


@media (min-width: 700px) {
    .header-inner.menu-sticky {
        position: fixed !important;

    }
}

#reactheme-header {

}

body header .bg-remove {

    background: rgba(31, 31, 37, 0.65) !important;
    backdrop-filter: blur(20px);
}


.socials {
    position: absolute;
    z-index: 20;
    left: 150px;
    bottom: -webkit-calc(50% - 75px);
    bottom: calc(50% - 75px);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 400;
    font-weight: 500;
    color: #fff;
    letter-spacing: 4px;
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    pointer-events: auto;
    position: fixed;
    left: 50px;
}

@media (max-width: 800px) {

    .socials {
        display: none !important;
    }
}

.socials li {
    float: left;
    margin: 0 33px
}

.socials a {
    -webkit-transition: color .3s ease, opacity .3s ease;
    transition: color .3s ease, opacity .3s ease;
    display: block;
    opacity: .8;
    color: #fff;
}

.socials a:hover {
    color: #dbb154;
    opacity: 1
}

.relative {
    position: relative;
}


@media (max-width: 800px) {
    breadcrumbs-inner {
        padding-top: 90px !important;
        font-size: 12px !important;
    }
    .reactheme-breadcrumbs .breadcrumbs-title span {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
}


.reactheme-porfolio-details .ps-navigation {
    display:none !important;

}



.countertop-section {
    width: 100%;
    padding: 60px 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 260px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #161324;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all 0.2s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.product-card.active {
    box-shadow: 0 0 0 2px #DDB75D;
}

.card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .card-image {
    transform: scale(1.05);
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(180deg,
    rgba(221, 183, 93, 0) 0%,
    rgba(28, 31, 72, 0) 40%,
    rgba(22, 19, 36, 0.9) 100%);
    transition: background 0.4s ease;
}

.product-card.active .card-gradient {
    background: linear-gradient(180deg,
    rgba(221, 183, 93, 0) 0%,
    rgba(28, 31, 72, 0) 40%,
    rgba(22, 19, 36, 0.9) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
}

.card-title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card.active .card-title {
    color: #FFFFFF;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #DDB75D;
    transition: gap 0.3s ease;
}

.product-card:hover .card-action {
    gap: 12px;
}

.action-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-arrow {
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.product-card:hover .action-arrow {
    transform: translateX(4px);
}

/* Tablet View */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .submenu-odkazy li {
        max-width: max-content !important;
    }
    .reactheme-breadcrumbs .breadcrumbs-inner, #reactheme-header.header-style-3 .reactheme-breadcrumbs .breadcrumbs-inner {
        padding-top: 100px !important;
    }
}

/* Mobile View */
@media (max-width: 640px) {
    .countertop-section {
        padding: 40px 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        min-height: 220px;
    }

    .card-content {
        padding: 24px;
    }

    .card-title {
        font-size: 18px;
    }
    .menu-sticky-wrapper {
        padding-top: 25px;
    }
}

.pre-blur {
    background: rgb(26 23 42 / 61%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



/* Menu Scroll Complete Fix - Add this at the end of your CSS */

/* Force menu to start at the beginning and prevent centering */
.menu-sticky-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
}

.submenu-odkazy {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 20px !important;

    /* Completely remove scroll snap */
    scroll-snap-type: none !important;
    scroll-padding: 0 !important;
    scroll-snap-align: none !important;
}

/* Remove all scroll snap from items */
.submenu-odkazy li {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

/* Hide scrollbar but keep functionality */
.menu-sticky-wrapper::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}

.menu-sticky-wrapper {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.submenu-odkazy::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}

.submenu-odkazy {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Ensure first item is always visible on load */
.submenu-odkazy li:first-child {
    margin-left: 0 !important;
}

/* Override any transform that might cause jumping */
.menu-sticky-wrapper,
.submenu-odkazy {
    transform: none !important;
    transform: translateX(0) !important;
}

/* Ensure active state is visible on page load */
.submenu-odkazy li:first-child:not(.active) {
    opacity: 1 !important;
}

/* Active state styling */
.submenu-odkazy li.active {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Prevent any auto-centering on sticky */
.menu-sticky-wrapper.is-sticky {
    position: fixed !important;
    top: 75px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9998 !important;
}

.menu-sticky-wrapper.is-sticky .submenu-odkazy {
    justify-content: flex-start !important;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .menu-sticky-wrapper {
        padding: 15px 0 !important;
    }

    .submenu-odkazy {
        padding: 0 10px !important;
    }

    .submenu-odkazy li {
        min-width: auto !important;
        max-width: max-content !important;
    }
}

/* Prevent layout shift on load */
.menu-sticky-wrapper {
    min-height: 82px !important;
}

/* Ensure smooth behavior without jumps */
html {
    scroll-behavior: smooth !important;
}

/* Initial load state - no animations */
body:not(.page-loaded) .submenu-odkazy,
body:not(.page-loaded) .submenu-odkazy * {
    transition: none !important;
    animation: none !important;
}

/* After page loads, enable transitions */
body.page-loaded .submenu-odkazy li {
    transition: all 0.2s ease !important;
}


@media (min-width: 1200px) {
    .menu-sticky-wrapper {
        min-height: 82px !important;
        display: flex
    ;
        justify-content: center;
    }
}

.mat_banner:hover {
    cursor: pointer !important;
}