/* Winery single page */
.winery-page {
    background: #f1f1f1;
    color: #181818;
    margin: 0;
    padding-bottom: 80px;
}

.winery-shell {
    
}

.winery-hero {
    background-color: #d3d3d3;
    background-position: center;
    background-size: cover;
    min-height: 660px;
    position: relative;
}

.winery-hero__overlay {
    background: rgba(24, 24, 24, 0.12);
    inset: 0;
    position: absolute;
}

.winery-hero__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0 5rem;
}

.winery-breadcrumbs {
    align-items: center;
    color: #525252;
    display: flex;
    gap: 10px;
}

.winery-breadcrumbs a {
    color: #525252;
    text-decoration: none;
}
.bc_arrow{
    display: block;
    background: url('data:image/svg+xml,<svg width="6" height="10" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.666504 8.66666L4.6665 4.66666L0.666504 0.666664" stroke="%23525252" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat;
    background-size: contain;
    width: 6px;
    height: 10px;
}
.winery-hero__content {
    background: rgba(241, 241, 241, 0.94);
    border-radius: 16px;
    max-width: 420px;
    padding: 24px;
}

.winery-hero__meta {
    color: #8f8f8f;
    display: flex;
    font-size: 16px;
    gap: 20px;
    justify-content: space-between;
    line-height: 24px;
}

.winery-hero__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    margin: 8px 0 24px;
}

.winery-btn {
    border-radius: 12px;
    display: inline-flex;
    font-size: 16px;
    justify-content: center;
    line-height: 24px;
    padding: 12px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.winery-btn--primary {
    background: #a12c2f;
    border: 1px solid #a12c2f;
    color: #fff;
}

.winery-btn--primary:hover {
    background: #8d2629;
    border-color: #8d2629;
    color: #fff;
}

.winery-btn--outline {
    border: 1px solid #181818;
    color: #181818;
}

.winery-btn--outline:hover {
    border-color: #a12c2f;
    color: #a12c2f;
}

.winery-main-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 440px;
    margin-top: 80px;
}

.winery-section {
    margin-bottom: 70px;
}

.winery-section h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    margin: 0 0 18px;
}

.winery-text {
    color: #525252;
    font-size: 16px;
    line-height: 24px;
    white-space: pre-line;
}

.winery-section__header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.winery-section__header p,
.winery-section__header a {
    color: #8f8f8f;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    text-decoration: none;
}

.winery-top-wines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winery-top-wine {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    color: #181818;
    display: flex;
    justify-content: space-between;
    padding: 16px 20px 16px 12px;
    text-decoration: none;
}

.winery-top-wine__main {
    display: flex;
    gap: 24px;
}

.winery-top-wine__image {
    background: #181818;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    height: 176px;
    overflow: hidden;
    width: 110px;
}

.winery-top-wine__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.winery-top-wine__body h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 4px;
}

.winery-top-wine__meta {
    color: #8f8f8f;
    margin: 0 0 8px;
}

.winery-top-wine__price {
    margin: 0 0 10px;
}

.winery-top-wine__rating {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.winery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.winery-tags span {
    border: 1px solid #c2a46d;
    border-radius: 32px;
    color: #c2a46d;
    font-size: 14px;
    line-height: 20px;
    padding: 4px 18px;
}

.winery-visit-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 24px;
}

.winery-visit-card__head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.winery-visit-card__head h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    line-height: 40px;
    margin: 0;
}

.winery-visit-card__head p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.winery-visit-card__head .is-open {
    color: #34c759;
}

.winery-visit-card__head .is-closed {
    color: #a12c2f;
}

.winery-visit-card__list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.winery-visit-card__list li {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.winery-visit-card__list strong,
.winery-visit-card__list span,
.winery-visit-card__list a {
    display: block;
}

.winery-visit-card__list span,
.winery-visit-card__list a {
    color: #8f8f8f;
    margin-top: 2px;
}

.winery-visit-card__list a {
    text-decoration: none;
}

.winery-visit-card__price {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 16px;
}

.winery-visit-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winery-map-card {
    background: #e5e5e5;
    border: 1px solid rgba(143, 143, 143, 0.3);
    border-radius: 24px;
    min-height: 440px;
    overflow: hidden;
    position: relative;
}

.winery-map-card p {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    line-height: 48px;
    margin: 0;
    text-align: center;
    width: 100%;
}

.winery-map-card iframe {
    border: 0;
    height: 440px;
    width: 100%;
}

.winery-map-card p {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

.winery-wines h2 {
    text-align: center;
}

.winery-wines-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.winery-wine-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    color: #181818;
    overflow: hidden;
    text-decoration: none;
}

.winery-wine-card__image {
    background: #181818;
    height: 320px;
}

.winery-wine-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.winery-wine-card__body {
    padding: 18px;
}

.winery-wine-card__rating {
    color: #181818;
    margin: 0;
}

.winery-wine-card__body h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 6px;
}

.winery-wine-card__body ul {
    color: #8f8f8f;
    margin: 0 0 12px 18px;
    padding: 0;
}

.winery-wine-card__price {
    font-size: 20px;
    line-height: 28px;
    margin: 0;
}

.winery-wines .page-numbers {
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.winery-wines .page-numbers a,
.winery-wines .page-numbers span {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #364153;
    display: inline-flex;
    padding: 8px 14px;
    text-decoration: none;
}

.winery-wines .page-numbers .current {
    background: #a12c2f;
    border-color: #a12c2f;
    color: #fff;
}

.winery-related-grid,
.winery-tours-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.winery-related-card,
.winery-tour-card {
    background: #fff;
    border-radius: 18px;
    color: #181818;
    overflow: hidden;
    text-decoration: none;
}

.winery-related-card__image,
.winery-tour-card__image {
    background: #181818 center/cover no-repeat;
}

.winery-related-card__image {
    height: 320px;
}

.winery-tour-card__image {
    height: 260px;
}

.winery-related-card__body,
.winery-tour-card__body {
    padding: 16px;
}

.winery-related-card__meta {
    color: #8f8f8f;
    display: flex;
    justify-content: space-between;
}

.winery-related-card h3,
.winery-tour-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    line-height: 48px;
    margin: 6px 0;
}

.winery-related-card p,
.winery-tour-card p {
    color: #8f8f8f;
    margin: 0;
}

.winery-tour-card__route {
    color: #8f8f8f;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}

.winery-tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.winery-gallery-item {
    background: #181818;
    border-radius: 24px;
    height: 440px;
    overflow: hidden;
}

.winery-gallery-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.winery-gallery-grid {
    position: relative;
}

.winery-gallery-grid .swiper-slide {
    height: auto;
}

.winery-gallery-controls {
    pointer-events: none;
}

.winery-gallery-controls .swiper-button-next,
.winery-gallery-controls .swiper-button-prev {
    background: rgba(24, 24, 24, 0.52);
    border-radius: 50%;
    color: #fff;
    height: 44px;
    pointer-events: auto;
    width: 44px;
}

.winery-gallery-controls .swiper-button-next::after,
.winery-gallery-controls .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.winery-gallery-pagination {
    margin-top: 16px;
    position: static;
}

.winery-gallery-pagination .swiper-pagination-bullet {
    opacity: 0.35;
}

.winery-gallery-pagination .swiper-pagination-bullet-active {
    background: #a12c2f;
    opacity: 1;
}

.winery-gallery-grid.is-single-slide .winery-gallery-controls,
.winery-gallery-grid.is-single-slide .winery-gallery-pagination {
    display: none;
}

.winery-cta {
    background: #d3d3d3;
    border-radius: 32px;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 78px 60px;
}

.winery-cta h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 56px;
    line-height: 64px;
    margin: 0 0 8px;
}

.winery-cta p {
    color: #8f8f8f;
    margin: 0 0 24px;
}

.winery-cta__form {
    max-width: 747px;
}

.winery-cta__form input {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: block;
    margin-bottom: 16px;
    padding: 16px;
    width: 100%;
}

.winery-cta__form small {
    color: #525252;
    display: block;
    margin-bottom: 20px;
}

.winery-cta__buttons {
    display: flex;
    gap: 20px;
}

.winery-cta__buttons .winery-btn {
    min-width: 285px;
}

.winery-cta__shape {
    background: #181818;
    clip-path: polygon(67% 0, 100% 30%, 87% 84%, 26% 100%, 0 70%, 35% 42%);
    min-height: 310px;
}

@media (max-width: 1200px) {
    .winery-main-grid {
        grid-template-columns: 1fr;
    }

    .winery-aside {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }

    .winery-wines-grid,
    .winery-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .winery-hero {
        min-height: 520px;
    }

    .winery-breadcrumbs {
        margin-bottom: 200px;
    }

    .winery-hero__title {
        font-size: 40px;
        line-height: 48px;
    }

    .winery-top-wine {
        display: block;
    }

    .winery-top-wine__main {
        margin-bottom: 12px;
    }

    .winery-top-wine__body h3 {
        font-size: 26px;
        line-height: 34px;
    }

    .winery-aside {
        grid-template-columns: 1fr;
    }

    .winery-wines-grid,
    .winery-related-grid,
    .winery-tours-grid {
        grid-template-columns: 1fr;
    }

    .winery-related-card h3,
    .winery-tour-card h3 {
        font-size: 32px;
        line-height: 40px;
    }

    .winery-cta {
        grid-template-columns: 1fr;
        padding: 38px 20px;
    }

    .winery-cta h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .winery-cta__buttons {
        flex-direction: column;
    }
}
