@font-face {
    font-family: 'Jost';
    src: url('/fonts/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Jost';
    src: url('/fonts/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
    background: #f2efeb;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #f2efeb;
    z-index: 1000;
}

.header-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
}

.header-mobile .logo {
    width: 80px;
    z-index: 2;
}

.header-cart-link,
.header-cart-button {
    position: absolute;
    left: 20px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
}

.cart-icon-svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 1;
    visibility: visible;
}

.cart-icon-svg path,
.cart-icon-svg circle {
    fill: none;
    stroke: #000;
    opacity: 1;
    visibility: visible;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #8f1d14;
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    font-weight: 600;
}

.header-mobile .hamburger {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 50px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}

.header-mobile .hamburger span {
    display: block;
    width: 45px;
    height: 2px;
    background: #000;
    margin: 6px 0;
    border-radius: 2px;
}

.header-desktop {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
}

.header-desktop .logo {
    width: 100px;
}

.header-desktop .nav-items {
    display: flex;
    gap: 20px;
}

.header-desktop .nav-items a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.hero-section-mobile,
.hero-section-desktop {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section-mobile img,
.hero-section-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% center;
}

.hero-section-mobile {
    height: 80vh;
}

.hero-section-desktop {
    display: none;
    height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 4rem;
    box-sizing: border-box;
}

.hero-text-bg {
    height: 12rem;
    width: 90%;
    max-width: 720px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-sizing: border-box;
    overflow-y: auto;
}

body.age-locked {
    overflow: hidden;
}

body.age-locked header,
body.age-locked main,
body.age-locked nav,
body.age-locked footer,
body.age-locked .cookie-banner {
    filter: blur(6px);
    pointer-events: none;
}

#age-gate {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(242, 239, 235, 0.85);
}

.age-gate-inner {
    text-align: center;
    padding: 2rem;
    max-width: 320px;
}

.age-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.age-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.age-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 0.5rem 1rem;
}

.age-actions button:hover {
    opacity: 0.6;
}

.hero-text-bg.expanded {
    height: auto;
    width: 90%;
    max-width: 720px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-sizing: border-box;
    overflow-y: auto;
}

.hero-text-bg h1 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.hero-text-bg p {
    font-size: 1.2rem;
    margin: 0;
}

.short-text,
.long-text {
    margin: 0;
    text-align: center;
}

.long-text {
    display: none;
}

.hero-text-bg.expanded .long-text {
    display: block;
}

.hero-text-bg.expanded .short-text {
    display: none;
}

.toggle-text {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
}

.history-section {
    position: relative;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: calc(clamp(80px, 20vw, 200px) / 2 + 20px);
    padding-bottom: 2rem;
}

.history-text {
    line-height: 1.5;
    text-align: justify;
}

.short-text {
    display: block;
}

.long-text {
    display: none;
}

.history-content {
    text-align: left;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 720px;
}

.history-content .toggle-history {
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 200;
    font-size: 0.85rem;
    text-decoration: underline;
    color: #fff;
    margin-top: 0.5rem;
    float: right;
    clear: both;
}

.history-logo {
    display: block;
    margin: 0 auto;
    width: clamp(80px, 20vw, 200px);
    height: auto;
    margin-top: calc(-1.15 * clamp(80px, 20vw, 200px));
    z-index: 2;
}

.history-sun-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.history-sun-logo {
    width: clamp(132px, 33vw, 330px);
    height: auto;
}

.lukasowka-lot-img-container {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.lukasowka-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.wina-section {
    position: relative;
    background-color: #f2efeb;
    text-align: center;
    padding-top: calc(clamp(80px, 20vw, 200px) / 2);
    padding-bottom: 4rem;
}

.wina-logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.wina-logo {
    width: clamp(80px, 20vw, 200px);
    height: auto;
}

.wina-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    top: calc(-0.5 * clamp(80px, 20vw, 200px));
    z-index: 1;
}

.wine-types-container {
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kolory {
    text-align: left;
    margin-left: 1rem;
}

.kolory-kontakt {
    margin-top: -3rem;
    text-align: left;
    margin-left: 1rem;
}

.wine-type {
    display: flex;
    flex-direction: column;
}

.wine-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.wine-logo-text {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

.wine-logo {
    width: clamp(180px, 33.75vw, 337.5px);
    height: auto;
    margin-left: -0.5rem;
    margin-bottom: 0;
    align-self: flex-start;
}

.wine-text-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wine-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.toggle-wine {
    background: none;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-top: 0;
    text-decoration: underline;
    font-family: 'Jost', sans-serif;
}

.shop-red-button {
    display: inline-block;
    background: #8f1d14;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
    border-radius: 0;
}

.shop-red-button:hover {
    opacity: 0.85;
}

.wine-text.long-text {
    display: none;
    text-align: justify;
}

.wine-text {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.5rem 0 2rem 1rem;
    text-align: left;
}

.mobile-full-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: #f2efeb;
    display: flex;
    flex-direction: column;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-full-menu.active {
    transform: translateX(0);
}

.galeria-section {
    position: relative;
    background-color: #000;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 5rem;
}

.galeria-logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 2;
}

.galeria-logo {
    width: clamp(80px, 20vw, 200px);
    height: auto;
}

.galeria-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: calc(0.5 * clamp(80px, 20vw, 200px));
}

.galeria-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 1px 0;
}

.gallery-open-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery-open-button .galeria-image {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-open-button:hover .galeria-image,
.gallery-open-button:focus-visible .galeria-image {
    transform: scale(1.025);
}

.gallery-open-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.desktop-gallery-carousel {
    display: none;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    box-sizing: border-box;
    background: rgba(20, 20, 20, 0.78);
    backdrop-filter: grayscale(1) blur(2px);
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.gallery-lightbox-figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1280px, calc(100vw - 180px));
    max-height: min(720px, calc(100vh - 110px));
    object-fit: contain;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-figure figcaption {
    min-height: 1.5em;
    margin-top: 12px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    background: rgba(242, 239, 235, 0.92);
    color: #000;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-control-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: square;
    stroke-linejoin: miter;
    pointer-events: none;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: #fff;
    transform: scale(1.06);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.gallery-lightbox-close {
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
}

.gallery-lightbox-nav {
    top: 50%;
    width: 44px;
    height: 60px;
    transform: translateY(-50%);
}

.gallery-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

@media (max-width: 767px) {
    .gallery-lightbox {
        padding: 56px 16px 36px;
    }

    .gallery-lightbox-figure img {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 120px);
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .gallery-lightbox-nav {
        width: 44px;
        height: 44px;
        background: rgba(242, 239, 235, 0.85);
    }

    .gallery-lightbox-prev {
        left: 8px;
    }

    .gallery-lightbox-next {
        right: 8px;
    }
}

.kontakt-section {
    position: relative;
    background-color: #f2efeb;
    text-align: center;
    padding-top: calc(clamp(80px, 20vw, 200px) / 2);
    padding-bottom: 4rem;
}

.kontakt-logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.kontakt-logo {
    width: clamp(80px, 20vw, 200px);
    height: auto;
}

.kontakt-content {
    margin-top: calc(0.5 * clamp(80px, 20vw, 200px));
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kolory-kontakt {
    padding: 0 24px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.map-container {
    position: relative;
}

.contact-map {
    width: 100%;
    border: 0;
}

.map-container iframe {
    filter: brightness(0.89) contrast(2) saturate(10);
    border-radius: 0;
}

.map-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: #f2efeb;
    mix-blend-mode: color;
    pointer-events: none;
}

.map-coordinates {
    display: none;
}

.kontakt-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kontakt-winery {
    font-weight: 600;
}

.kontakt-address {
    font-weight: 400;
}

.kontakt-people {
    font-weight: 400;
}

.kontakt-people .bold {
    font-weight: 600;
}

.kontakt-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.kontakt-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 10px 0;
}

.kontakt-social img {
    width: 50%;
    max-width: 50px;
    height: auto;
}

.kontakt-last-logo img {
    width: clamp(80px, 20vw, 200px);
    height: auto;
    margin-top: 1rem;
}

.menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    gap: 10px;
}

.pl-container,
.eng-container {
    display: inline-block;
    width: 30px;
    text-align: center;
}

.lang-switch .pl,
.lang-switch .eng {
    cursor: pointer;
    color: #888;
    font-weight: 400;
    transition: color 0.2s, font-weight 0.2s;
}

.lang-switch .pl.selected,
.lang-switch .eng.selected {
    color: #000;
    font-weight: 600;
}

.lang-switch .divider {
    display: inline-block;
    width: 1px;
    height: 36px;
    background: #000;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
}

.menu-buttons .menu-item {
    display: flex;
    flex-direction: column;
}

.menu-buttons a {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    padding: 24px 0;
}

.menu-buttons hr {
    width: 100%;
    border: none;
    border-top: 0.5px solid #999;
    margin: 0;
}

.contact-info {
    text-align: center;
    font-size: 16px;
}

.pawel {
    font-size: 1.1em;
    font-weight: 600;
}

.rotary-phone {
    font-size: 0.95em;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1px #000;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-2px);
}

.phone-number {
    font-weight: 600;
    margin-left: 10px;
}

.menu-bottom-image {
    display: flex;
    justify-content: center;
}

.menu-bottom-image img {
    width: auto;
    height: auto;
    transform: scale(0.85);
    transform-origin: center;
}

.site-footer {
    background: #f2efeb;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    font-size: 11px;
}

.site-footer-links {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    font-size: 0.85rem;
    font-weight: 400;
}

.site-footer a:hover {
    opacity: 0.6;
}

.site-footer p {
    margin: 0;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2500;
    background: rgba(242, 239, 235, 0.96);
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    padding: 1rem;
    display: none;
    box-sizing: border-box;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.cookie-banner a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 0.25rem 0;
}

.cookie-actions button:hover {
    opacity: 0.6;
}

@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-banner p {
        max-width: 620px;
    }

    .cookie-actions {
        flex-shrink: 0;
    }
}

@media (min-width: 1280px) {
    .header-mobile {
        display: none;
    }

    .header-desktop {
        display: flex;
    }

    .mobile-full-menu {
        display: none;
    }

    .hero-section-mobile {
        display: none;
    }

    .hero-section-desktop {
        display: block;
    }
}

/* Desktop 1280+: kompozycja na podstawie projektu 1400 px. */
@media (min-width: 1280px) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 64px;
    }

    body {
        background: #f2efeb;
    }

    header {
        height: 64px;
        background: #f2efeb;
    }

    main {
        padding-top: 64px;
    }

    .header-desktop {
        position: relative;
        display: block;
        height: 64px;
        padding: 0 28px;
        box-sizing: border-box;
    }

    .desktop-brand-marks {
        position: absolute;
        top: 50%;
        left: 28px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 26px;
    }

    .brand-mark {
        position: relative;
        display: block;
        width: 24px;
        height: 16px;
        border-bottom: 1.5px solid #000;
    }

    .brand-mark::before {
        content: '';
        position: absolute;
        left: 5px;
        width: 14px;
        height: 8px;
        border: 1.5px solid #000;
    }

    .brand-mark-up::before {
        bottom: 0;
        border-bottom: 0;
        border-radius: 14px 14px 0 0;
    }

    .brand-mark-circle::before {
        bottom: 0;
        height: 14px;
        border-radius: 50%;
    }

    .brand-mark-down::before {
        top: 0;
        border-top: 0;
        border-radius: 0 0 14px 14px;
    }

    .desktop-nav {
        position: absolute;
        top: 0;
        left: 18.5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 43%;
        height: 64px;
    }

    .desktop-nav a,
    .desktop-shop-link {
        color: #000;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.025em;
    }

    .desktop-nav a:hover,
    .desktop-shop-link:hover,
    .desktop-socials a:hover {
        opacity: 0.55;
    }

    .desktop-logo-link {
        position: absolute;
        top: 0;
        left: 81.5%;
        z-index: 4;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 190px;
        height: 146px;
        background: #f2efeb;
    }

    .desktop-logo {
        width: 150px;
        height: auto;
    }

    .desktop-header-right {
        position: static;
    }

    .desktop-socials {
        position: absolute;
        top: 50%;
        left: 65%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .desktop-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-socials img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .desktop-cart-link {
        position: relative;
        width: 30px;
        height: 30px;
        color: #000;
        text-decoration: none;
    }

    .desktop-cart-link .cart-icon-svg {
        width: 24px;
        height: 24px;
    }

    .desktop-cart-link .cart-count {
        top: -7px;
        right: -7px;
    }

    .desktop-language {
        position: absolute;
        top: 50%;
        right: 28px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.78rem;
        color: #9a9a9a;
    }

    .desktop-language .active {
        color: #000;
        font-weight: 600;
    }

    .desktop-shop-link {
        display: none !important;
    }

    .language-divider {
        width: 1px;
        height: 24px;
        background: #777;
    }

    .hero-section-mobile {
        display: block;
        height: calc(100vh - 64px);
        min-height: 656px;
        max-height: 900px;
    }

    .hero-section-mobile > img {
        object-position: center 56%;
    }

    .hero-overlay {
        align-items: flex-end;
        padding-bottom: clamp(100px, 12vh, 150px);
    }

    .hero-text-bg,
    .hero-text-bg.expanded {
        width: min(900px, 68vw);
        max-width: none;
        height: auto;
        min-height: 175px;
        padding: 42px 48px;
        justify-content: center;
        overflow: visible;
        background: rgba(242, 239, 235, 0.20);
        backdrop-filter: blur(2px);
    }

    .hero-text-bg .short-text {
        display: block;
        font-size: 1rem;
        line-height: 1.55;
        text-align: left;
    }

    .hero-text-bg .long-text {
        display: none;
    }

    .history-section {
        min-height: 1050px;
        padding: 110px 0 130px;
        box-sizing: border-box;
    }

    .history-logo {
        position: absolute;
        top: 0;
        left: 50%;
        width: 140px;
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .history-content {
        max-width: 800px;
        padding: 0;
    }

    .history-content .short-text,
    .history-content .toggle-history {
        display: none !important;
    }

    .history-content .long-text {
        display: block !important;
        font-size: 0.96rem;
        line-height: 1.5;
        text-align: left;
    }

    .history-sun-container {
        margin-top: 58px;
    }

    .history-sun-logo {
        width: 135px;
    }

    .lukasowka-lot-img-container {
        width: min(800px, 68vw);
        margin: 54px auto 0;
    }

    .lukasowka-video {
        aspect-ratio: 16 / 9;
        background: #111;
    }

    .wina-section {
        padding: 0 0 150px;
        text-align: left;
    }

    .wina-logo-container {
        top: 0;
    }

    .wina-logo {
        width: 140px;
    }

    .wina-image {
        top: 0;
        width: 100%;
        height: clamp(520px, 48vw, 680px);
        object-fit: cover;
        object-position: center 48%;
    }

    .wina-offer-container {
        position: relative;
        z-index: 3;
        width: min(900px, 72vw);
        margin: -95px auto 115px;
        padding: 38px 50px;
        box-sizing: border-box;
        background: #f2efeb;
        text-align: left;
    }

    .wina-offer-container h4 {
        margin: 0 0 10px;
        font-size: 1rem;
    }

    .wina-offer-container p,
    .wina-offer-container .kolory {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .wine-types-container {
        width: min(900px, 72vw);
        margin: 0 auto;
        gap: 100px;
    }

    .wine-type {
        display: grid;
        grid-template-columns: 400px minmax(0, 1fr);
        gap: 50px;
        align-items: center;
    }

    .wine-type:nth-child(4) {
        display: none;
    }

    .wine-image {
        width: 400px;
        height: 400px;
        object-fit: cover;
        background: #fff;
    }

    .wine-logo-text {
        min-width: 0;
        margin: 0;
    }

    .wine-logo {
        width: min(350px, 100%);
        margin: 0 0 30px;
    }

    .wine-text-container {
        align-items: flex-start;
        margin: 0;
    }

    .wine-text {
        margin: 0 0 16px;
        font-size: 0.96rem;
        line-height: 1.55;
        text-align: left;
    }

    .wine-text.short-text,
    .wine-text.long-text {
        display: block !important;
    }

    .wine-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .toggle-wine {
        display: none;
    }

    .shop-red-button {
        padding: 0.65rem 1.35rem;
    }

    .galeria-section {
        min-height: 900px;
        padding: 155px 0 145px;
        box-sizing: border-box;
    }

    .galeria-logo-container {
        transform: translate(-50%, -50%);
    }

    .galeria-logo {
        width: 140px;
    }

    .galeria-images {
        display: none;
    }

    .desktop-gallery-carousel {
        position: relative;
        display: block;
        width: min(1160px, 88vw);
        margin: 65px auto 0;
        padding: 42px 64px 60px;
        box-sizing: border-box;
        background: #555;
        overflow: hidden;
    }

    .desktop-gallery-viewport {
        width: 100%;
        overflow: hidden;
    }

    .desktop-gallery-track {
        display: flex;
        align-items: stretch;
        transition: transform 0.42s ease;
        will-change: transform;
    }

    .desktop-gallery-slide {
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(3, 170px);
        gap: 10px;
    }

    .desktop-gallery-slide .gallery-open-button,
    .desktop-gallery-slide .galeria-image,
    .desktop-gallery-placeholder {
        width: 100%;
        height: 100%;
    }

    .desktop-gallery-slide .galeria-image {
        margin: 0;
        object-fit: cover;
    }

    .desktop-gallery-placeholder {
        background: rgba(255, 255, 255, 0.035);
    }

    .desktop-gallery-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 44px;
        height: 60px;
        padding: 0;
        transform: translateY(-50%);
        border: 0;
        background: rgba(242, 239, 235, 0.9);
        color: #000;
        cursor: pointer;
        font-family: 'Jost', sans-serif;
        font-size: 2.7rem;
        line-height: 1;
    }

    .desktop-gallery-nav:hover {
        background: #fff;
    }

    .desktop-gallery-nav:disabled {
        cursor: default;
        opacity: 0.28;
    }

    .desktop-gallery-prev {
        left: 10px;
    }

    .desktop-gallery-next {
        right: 10px;
    }

    .desktop-gallery-page {
        position: absolute;
        right: 64px;
        bottom: 18px;
        min-height: 1.2em;
        margin: 0;
        color: #fff;
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }

    .kontakt-section {
        min-height: 720px;
        padding: 115px 0 100px;
        box-sizing: border-box;
    }

    .kontakt-logo {
        width: 140px;
    }

    .kontakt-content {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
        grid-template-areas:
            'heading heading'
            'offer offer'
            'map info'
            'coords info'
            'social social';
        column-gap: 70px;
        row-gap: 14px;
        width: min(800px, 68vw);
        max-width: none;
        margin: 0 auto;
        text-align: left;
    }

    .kontakt-content > h4 {
        grid-area: heading;
        margin: 0;
        text-align: center;
        font-size: 1rem;
    }

    .kolory-kontakt {
        grid-area: offer;
        margin: 0 0 20px;
        padding: 0;
        text-align: center;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .map-container {
        grid-area: map;
        height: 250px;
    }

    .contact-map,
    .map-container iframe,
    .map-mask {
        height: 250px;
    }

    .map-coordinates {
        display: block;
        grid-area: coords;
        margin: 0;
        font-size: 0.78rem;
    }

    .kontakt-info {
        grid-area: info;
        align-self: start;
        align-items: flex-start;
        gap: 2px;
        text-align: left;
    }

    .kontakt-info p {
        margin: 0 0 10px;
    }

    .kontakt-mail {
        justify-content: flex-start;
    }

    .kontakt-last-logo {
        display: none;
    }

    .kontakt-social {
        grid-area: social;
        justify-content: flex-end;
        margin: -62px 0 0;
        padding-right: 40px;
    }

    .kontakt-social img {
        width: 28px;
        height: 28px;
    }

    .site-footer {
        padding: 1.25rem 1rem;
    }

    .age-gate-inner {
        max-width: 420px;
        padding: 3rem;
        background: #f2efeb;
    }
}
