/* ——— Directorio de bodegas ——— */

#bcontainer:has(.producers-page) {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
}

.producers-page {
    margin: 0 0 56px;
    padding: 0;
    color: var(--ev-ink, #2a2a2a);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.producers-hero {
    display: block;
    width: 100%;
    margin: 0 0 36px;
}

.producers-hero__stage {
    position: relative;
    display: block;
    width: 100%;
    min-width: 100%;
    min-height: 380px;
    overflow: hidden;
    background: #1a0a12;
    box-sizing: border-box;
}

.producers-hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.producers-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-animation: producers-hero-ken 18s ease-out both;
    animation: producers-hero-ken 18s ease-out both;
}

@-webkit-keyframes producers-hero-ken {
    from { -webkit-transform: scale(1.08); transform: scale(1.08); }
    to { -webkit-transform: scale(1.02); transform: scale(1.02); }
}

@keyframes producers-hero-ken {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

.producers-hero__atmosphere {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 30%, rgba(26, 10, 18, 0.15) 0%, transparent 65%),
        linear-gradient(180deg, rgba(12, 4, 8, 0.28) 0%, transparent 42%);
}

.producers-hero__atmosphere::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.28;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}

.producers-hero__veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(12, 4, 8, 0.25) 0%,
            rgba(12, 4, 8, 0.12) 30%,
            rgba(12, 4, 8, 0.55) 68%,
            rgba(12, 4, 8, 0.88) 100%
        );
}

.producers-hero__content {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 72px var(--ev-page-gutter, 30px) 40px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    -webkit-animation: producers-hero-in 0.7s ease both;
    animation: producers-hero-in 0.7s ease both;
}

@-webkit-keyframes producers-hero-in {
    from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); }
    to { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes producers-hero-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.producers-hero__eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.producers-hero__title {
    margin: 0 0 12px;
    font-family: var(--font-display, "Source Serif 4", Georgia, serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.producers-hero__lede {
    margin: 0 auto 22px;
    max-width: 480px;
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.producers-hero__cred {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.producers-hero__stat strong {
    font-weight: 700;
    color: #fff;
}

.producers-hero__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.producers-hero__map,
.producers-hero__map:link,
.producers-hero__map:visited,
.producers-hero__map:hover,
.producers-hero__map:focus,
.producers-hero__map:active {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.producers-hero__map:hover,
.producers-hero__map:focus {
    border-bottom-color: #fff;
    opacity: 1;
}

/* Shell / content width */
.producers-shell {
    padding: 0 var(--ev-page-gutter, 30px);
}

.producers-section-head {
    margin: 0 0 18px;
}

.producers-section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.producers-section-title {
    margin: 0 0 6px;
    font-family: var(--font-display, "Source Serif 4", Georgia, serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ev-ink, #2a2a2a);
}

.producers-section-note {
    margin: 0;
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ev-muted, #6b5f66);
}

/* Featured */
.producers-featured {
    margin: 0 0 40px;
}

.producers-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .producers-featured__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1100px) {
    .producers-featured__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Map teaser */
.producers-map-teaser {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 32px;
    overflow: hidden;
    background: var(--ev-wash, #faf7f8);
    border: 1px solid var(--ev-line, #ebe6e8);
}

@media (min-width: 768px) {
    .producers-map-teaser {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
        max-height: 220px;
    }
}

.producers-map-teaser__copy {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.producers-map-teaser__copy .producers-section-title {
    font-size: 22px;
    margin-bottom: 4px;
}

.producers-map-teaser__copy .producers-section-note {
    font-size: 13px;
}

.producers-map-teaser__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 14px;
    padding: 10px 16px;
    background: var(--ev-brand, #6f1c48) !important;
    color: #fff !important;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-decoration: none !important;
    text-indent: 0;
    white-space: nowrap;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.producers-map-teaser__btn:hover,
.producers-map-teaser__btn:focus,
.producers-map-teaser__btn:active,
.producers-map-teaser__btn:visited {
    background: var(--ev-brand-soft, #8c2e60) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.producers-map-teaser__btn:hover,
.producers-map-teaser__btn:focus {
    transform: translateY(-1px);
}

.producers-map-teaser__visual {
    position: relative;
    display: block;
    height: 160px;
    background: #f3ecef;
    text-decoration: none;
    overflow: hidden;
}

@media (min-width: 768px) {
    .producers-map-teaser__visual {
        height: auto;
        min-height: 0;
        max-height: 220px;
    }
}

.producers-map-teaser__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.55s ease;
}

.producers-map-teaser__visual:hover .producers-map-teaser__img,
.producers-map-teaser__visual:focus .producers-map-teaser__img {
    transform: scale(1.03);
}

/* Directory */
.producers-directory {
    margin: 0 0 24px;
}

.producers-toolbar {
    margin: 0 0 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--ev-line, #ebe6e8);
}

.producers-toolbar__search {
    margin: 0 0 18px;
}

.producers-toolbar__search input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--ev-line, #ebe6e8);
    border-radius: 0;
    background: #fff;
    color: var(--ev-ink, #2a2a2a);
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 15px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.producers-toolbar__search input[type="search"]:focus {
    border-color: var(--ev-brand, #6f1c48);
    box-shadow: 0 0 0 3px rgba(111, 28, 72, 0.1);
    outline: none;
}

.producers-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 18px;
}

@media (min-width: 700px) {
    .producers-filters {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.producers-combo {
    position: relative;
    min-width: 0;
}

.producers-combo__label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ev-muted, #6b5f66);
}

.producers-combo__trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 44px !important;
    min-height: 44px;
    padding: 0 14px !important;
    border: 1px solid var(--ev-line, #ebe6e8) !important;
    border-radius: 0 !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--ev-ink, #2a2a2a) !important;
    font-family: var(--font-body, "Montserrat", sans-serif) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.producers-combo__trigger:hover,
.producers-combo__trigger:focus,
.producers-combo.is-open .producers-combo__trigger {
    border-color: var(--ev-brand, #6f1c48) !important;
    background: #fff !important;
    color: var(--ev-ink, #2a2a2a) !important;
    outline: none;
}

.producers-combo.is-open .producers-combo__trigger {
    box-shadow: 0 0 0 3px rgba(111, 28, 72, 0.1) !important;
}

.producers-combo__value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.producers-combo__caret {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--ev-muted, #6b5f66);
    transition: transform 0.15s ease;
}

.producers-combo.is-open .producers-combo__caret {
    transform: rotate(180deg);
}

.producers-combo__panel {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--ev-line, #ebe6e8);
    box-shadow: 0 12px 28px rgba(26, 10, 18, 0.12);
    box-sizing: border-box;
}

.producers-combo.is-open .producers-combo__panel {
    display: block;
}

.producers-combo__query {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid var(--ev-line, #ebe6e8);
    background: var(--ev-wash, #faf7f8);
    color: var(--ev-ink, #2a2a2a);
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.producers-combo__query:focus {
    outline: none;
    background: #fff;
}

.producers-combo__list {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.producers-combo__item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--ev-ink, #2a2a2a) !important;
    font-family: var(--font-body, "Montserrat", sans-serif) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    box-sizing: border-box;
}

.producers-combo__item:hover,
.producers-combo__item:focus {
    background: var(--ev-wash-deep, #f7eef2);
    color: var(--ev-brand, #6f1c48);
    text-decoration: none;
}

.producers-combo__item.is-active {
    background: var(--ev-wash-deep, #f7eef2);
    color: var(--ev-brand, #6f1c48);
    font-weight: 600;
}

.producers-combo__empty {
    margin: 0;
    padding: 14px;
    color: var(--ev-muted, #6b5f66);
    font-size: 13px;
    text-align: center;
}

/* A–Z compact */
.producers-letters {
    margin: 0;
}

.producers-letters__title {
    margin: 0 0 8px;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ev-muted, #6b5f66);
}

#producers-nav {
    margin: 0;
}

#producers-nav .ln-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
}

#producers-nav .ln-letters a {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ev-muted, #6b5f66);
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: color 0.15s ease, background-color 0.15s ease;
}

#producers-nav .ln-letters a.all,
#producers-nav .ln-letters a._ {
    min-width: auto;
    padding: 0 10px;
}

#producers-nav .ln-letters a:hover {
    color: var(--ev-brand, #6f1c48);
    background: var(--ev-wash-deep, #f7eef2);
}

#producers-nav .ln-letters a.ln-selected {
    background: var(--ev-brand, #6f1c48);
    color: #fff;
}

#producers-nav .ln-letters a.ln-disabled {
    color: #d0c8cc;
    pointer-events: none;
}

.producers-empty {
    margin: 0 0 20px;
    color: var(--ev-muted, #6b5f66);
    text-align: center;
    font-size: 14px;
}

/* Grid */
#producers.producers-grid,
#producers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#producers > li {
    float: none;
    width: auto;
    margin: 0;
    list-style: none;
    -webkit-animation: producers-card-in 0.45s ease both;
    animation: producers-card-in 0.45s ease both;
}

#producers > li.ln-no-match {
    grid-column: 1 / -1;
    padding: 28px 12px;
    color: var(--ev-muted, #6b5f66);
    text-align: center;
}

@media (min-width: 600px) {
    #producers.producers-grid,
    #producers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 900px) {
    #producers.producers-grid,
    #producers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1200px) {
    #producers.producers-grid,
    #producers {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@-webkit-keyframes producers-card-in {
    from { opacity: 0; -webkit-transform: translateY(8px); transform: translateY(8px); }
    to { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes producers-card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* Cards */
.producer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 14px 18px;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 0 0 1px var(--ev-line, #ebe6e8);
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.producer-card:hover,
.producer-card:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.producer-card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 12px;
    background: #fff;
    overflow: hidden;
}

.producer-card__img img {
    max-width: 88%;
    max-height: 88%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.producer-card:hover .producer-card__img img,
.producer-card:focus .producer-card__img img {
    transform: scale(1.06);
}

.producer-card__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.producer-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
    margin: 0;
    color: var(--ev-ink, #2a2a2a);
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.producer-card__region {
    margin: 0;
    color: var(--ev-muted, #6b5f66);
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    line-height: 1.3;
}

.producer-card__cta {
    margin-top: 6px;
    font-family: var(--font-nav, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ev-brand, #6f1c48);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.producer-card:hover .producer-card__cta,
.producer-card:focus .producer-card__cta {
    opacity: 1;
    transform: none;
}

.producer-card--featured {
    padding: 18px 14px 20px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--ev-line, #ebe6e8);
    border: 0;
}

.producer-card--featured .producer-card__cta {
    opacity: 1;
    transform: none;
}

@media (max-width: 599px) {
    .producers-hero__stage {
        min-height: 300px;
    }

    .producers-hero__content {
        padding-top: 44px;
        padding-bottom: 32px;
    }

    .producer-card__cta {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .producers-hero__content,
    .producers-hero__img,
    #producers > li,
    .producers-map-teaser__img,
    .producer-card,
    .producer-card__img img,
    .producer-card__cta {
        -webkit-animation: none !important;
        animation: none !important;
        transition: none !important;
    }

    .producers-hero__img,
    .producers-map-teaser__img {
        -webkit-transform: none;
        transform: none;
    }
}
