/* Booth Showcase - Final Design Fidelity (Heritage Chronicle) */
:root {
    --bn-primary: #001c0b;
    --bn-secondary: #80560e;
    --bn-accent: #fec575;
    --bn-bg: #faf9f6;
    --bn-surface: #ffffff;
    --bn-text: #1a1c1a;
    --bn-text-dim: #424842;
    --bn-outline: rgba(114, 121, 113, 0.15);


}


#heritage-booths {
    padding-bottom: 50px;
}

#heritage-booths .heritage-main {
    padding-top: 20px;

}



/* --- Hero Banner --- */
.heritage-hero {
    position: relative;
    height: 61.4rem;
    margin: 0 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.heritage-hero__bg {
    position: absolute !important;
    inset: 0;
    z-index: 1;
}

.heritage-slider,
.heritage-slider .slick-list,
.heritage-slider .slick-track,
.heritage-slider__item {
    height: 100%;
    width: 100%;
}

.heritage-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 28, 11, 0.95) 0%, rgba(0, 28, 11, 0.4) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.heritage-hero__content {
    position: relative;
    z-index: 3;
    /* padding: 0 4.8rem; */
    max-width: 80rem;
}

.heritage-hero__tag {
    color: #fff;
    text-transform: uppercase;

    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    display: block;
}

.heritage-hero__title {
    font-size: 5.6rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2.4rem;
    font-weight: 700;
}

.heritage-hero__desc {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 0;
}

/* --- Section Header --- */
.heritage-main {

    /* padding: 0 0 4.8rem; */
}

.heritage-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4.8rem;
    border-bottom: 0.1rem solid var(--bn-outline);
    padding-bottom: 2.4rem;
    flex-wrap: wrap;
}

.heritage-header__title {
    font-size: 3.2rem;
    font-style: italic;
    font-weight: 500;
}

.heritage-header__count {
    color: var(--bn-text-dim);
}

/* --- Cards Grid --- */
.booth-grid {
    gap: 3.2rem 0;
}

.booth-card {
    background: var(--bn-surface);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    border: none;
    height: 100%;
    border: 1px solid var(--bn-secondary);
}

@media (min-width: 992px) {
    .booth-card:hover {
        box-shadow: 0 2rem 4rem -1rem rgba(0, 28, 11, 0.1);
        transform: translateY(-0.8rem);
    }
}

.booth-card__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.booth-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.booth-card__voted-badge {
    color: var(--bn-secondary);
    font-size: 2.2rem;
}

@media (min-width: 992px) {
    .booth-card:hover .booth-card__img {
        transform: scale(1.1);
    }
}

.booth-card__badges {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    display: flex;
    gap: 0.8rem;
}

.booth-card__badge {
    background: rgba(250, 249, 246, 0.9);
    padding: 0.4rem 1.2rem;
    border-radius: 10rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.booth-card__body {
    padding: 2.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.booth-card__team {
    font-size: 1rem;
    color: var(--bn-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.booth-card__title {
    font-size: 2.8rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 1.6rem;
    transition: color 0.3s ease;
}

@media (min-width: 992px) {
    .booth-card:hover .booth-card__title {
        color: var(--bn-secondary);
    }
}

.booth-card__desc {
    color: var(--bn-text-dim);
    line-height: 1.5;
    margin-bottom: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.booth-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.6rem;
    border-top: 0.1rem solid var(--bn-outline);
}

.booth-card__dots {
    display: flex;
    gap: 0.4rem;
}

.booth-card__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 100%;
    background: var(--bn-secondary);
}

.booth-card__dot--muted {
    background: rgba(128, 86, 14, 0.2);
}

.booth-card__link {
    font-size: 1.2rem;
    color: var(--bn-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .booth-card__link:hover {
        color: var(--bn-secondary);
    }
}

.booth-card__link .material-symbols-outlined {
    font-size: 1.8rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 992px) {
    .booth-card__link:hover .material-symbols-outlined {
        transform: translateX(0.4rem);
    }
}

/* --- Load More --- */
.heritage-load-more {
    margin: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    cursor: pointer;
}

.heritage-load-more__btn {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 100%;
    border: 0.1rem solid var(--bn-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .heritage-load-more:hover .heritage-load-more__btn {
        background: var(--bn-secondary);
        color: #ffffff;
    }
}

.heritage-load-more__text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bn-text-dim);
}

/* --- Quote --- */
.heritage-quote {
    max-width: 144rem;
    margin: 4rem auto 8rem;
    padding: 0 4.8rem;
}

.heritage-quote__inner {
    border-left: 0.4rem solid var(--bn-secondary);
    padding: 0.8rem 0 0.8rem 4.8rem;
}

.heritage-quote__text {
    font-size: 3.6rem;
    font-style: italic;
    color: var(--bn-primary);
    line-height: 1.4;
    max-width: 90rem;
    margin-bottom: 2.4rem;
}

.heritage-quote__author {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bn-text-dim);
}

/* --- Footer --- */
.heritage-footer {
    background: var(--bn-primary);
    color: #faf9f6;
    padding: 8rem 4.8rem 4.8rem;
}

.heritage-footer__grid {
    max-width: 144rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4.8rem;
    border-top: 0.1rem solid rgba(128, 86, 14, 0.2);
    padding-top: 6.4rem;
}

/* --- Booth Card Score Button --- */
.booth-card__score-btn {
    background: linear-gradient(135deg, #001c0b 0%, #0f321c 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(0, 28, 11, 0.2);
}

@media (min-width: 992px) {
    .booth-card__score-btn:hover {
        background: linear-gradient(135deg, #80560e 0%, #b6843a 100%);
        box-shadow: 0 1.2rem 2.4rem -0.8rem rgba(128, 86, 14, 0.4);
        transform: translateY(-0.4rem);
    }
}

.booth-card__score-btn:active {
    transform: translateY(-0.2rem) scale(0.96);
}

.booth-card__score-btn .material-symbols-outlined {
    font-size: 1.6rem;
}

/* --- Heritage Scoring Modal --- */
.heritage-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 28, 11, 0.4);
    backdrop-filter: blur(0.4rem);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 4rem 2rem;
    overflow-y: auto;
}

.heritage-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.heritage-modal {
    width: 100%;
    max-width: 64rem;
    background: var(--bn-surface);
    border-radius: 1.2rem;
    box-shadow: 0 3.2rem 6.4rem -1.2rem rgba(26, 28, 26, 0.25);
    overflow: hidden;
    border: 0.1rem solid var(--bn-outline);
    transform: translateY(2rem);
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    margin: auto;
}

.heritage-modal-overlay.active .heritage-modal {
    transform: translateY(0);
}

/* --- Feedback Modal Overrides --- */
.heritage-modal-overlay--small {
    backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.heritage-modal-overlay--small .heritage-modal {
    max-width: 480px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.heritage-modal--feedback {
    border-radius: 20px !important;
    background: #ffffff !important;
    overflow: hidden;
    position: relative;
    padding: 3.2rem !important;
}

.heritage-modal--feedback .feedback-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.heritage-modal--feedback .feedback-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #22c55e;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.1);
    opacity: 1;
    transform: none;
}

.heritage-modal--feedback .feedback-icon span {
    font-size: 5.6rem;
    font-weight: 400;
}

.heritage-modal--feedback .feedback-title {
    font-family: var(--pr-font-headline, "Inter", sans-serif);
    font-style: normal;
    font-weight: 700;
    font-size: 3.2rem;
    color: #1a1c1a;
    margin-bottom: 1.2rem;
    text-align: center;
}

.heritage-modal--feedback .feedback-message {
    font-family: var(--pr-font-body, "Inter", sans-serif);
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #1a1c1a;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.heritage-modal--feedback .btn-feedback-confirm {
    background: #001c0b;
    color: #ffffff;
    border: none;
    padding: 1.2rem 3.2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 28, 11, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin: 3.2rem auto 0;
}

@media (min-width: 992px) {
    .heritage-modal--feedback .btn-feedback-confirm:hover {
        background: #0f321c;
        transform: translateY(-2px);
    }
}

.heritage-modal__header {
    background: linear-gradient(135deg, #001c0b 0%, #0f321c 100%);
    padding: 3.2rem;
    color: white;
    position: relative;
}

.heritage-modal__close {
    position: absolute;
    top: 2.4rem;
    right: 2.4rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

@media (min-width: 992px) {
    .heritage-modal__close:hover {
        color: var(--bn-accent);
        transform: rotate(90deg);
    }
}

.heritage-modal__header-content {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.heritage-modal__icon-wrap {
    background: rgba(128, 86, 14, 0.2);
    padding: 1.2rem;
    border-radius: 10rem;
    display: flex;
}

.heritage-modal__icon-wrap .material-symbols-outlined {
    color: var(--bn-secondary);
    font-size: 2.4rem;
}

.heritage-modal__title {
    font-size: 3rem;
    font-style: italic;
    font-weight: 700;
    margin: 0;
}

.heritage-modal__booth-name {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-top: 0.4rem;
}

.heritage-modal__body {
    padding: 3.2rem;
    max-height: calc(100vh - 35rem);
    min-height: 20rem;
    overflow-y: auto;
}

.heritage-modal__body::-webkit-scrollbar {
    width: 0.4rem;
}

.heritage-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.heritage-modal__body::-webkit-scrollbar-thumb {
    background: var(--bn-outline);
    border-radius: 1rem;
}

.scoring-list {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.scoring-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.scoring-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.scoring-item__label {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--bn-primary);
    text-transform: uppercase;
    display: block;
}

.scoring-item__max {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bn-text-dim);
    font-style: italic;
}

.scoring-item__input {
    width: 100%;
    background: #f4f3f1;
    border: 0.1rem solid var(--bn-outline);
    border-radius: 0.6rem;
    padding: 1.2rem;
    font-size: 1.8rem;
    color: var(--bn-primary);
    transition: all 0.3s;
}

.scoring-item__input:focus {
    outline: none;
    border-color: var(--bn-secondary);
    background: white;
    box-shadow: 0 0 0 0.3rem rgba(128, 86, 14, 0.1);
}

.scoring-item__note {
    width: 100%;
    background: #f4f3f1;
    border: 0.1rem solid var(--bn-outline);
    border-radius: 0.6rem;
    padding: 1.2rem;
    font-size: 1.4rem;
    min-height: 8rem;
    resize: vertical;
    margin-top: 0.8rem;
}

.heritage-modal__footer {
    padding: 3.2rem;
    background: #f4f3f1;
    border-top: 0.1rem solid var(--bn-outline);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scoring-total {
    display: flex;
    flex-direction: column;
}

.scoring-total__label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bn-text-dim);
}

.scoring-total__value {
    font-size: 4rem;
    font-style: italic;
    font-weight: 700;
    color: var(--bn-secondary);
}

.scoring-total__max {
    font-size: 1.2rem;
    font-style: normal;
    color: var(--bn-text-dim);
    font-weight: 400;
}

.heritage-modal__actions {
    display: flex;
    gap: 1.6rem;
}

.btn-modal-cancel {
    padding: 1.2rem 2.4rem;
    background: transparent;
    border: 1px solid var(--bn-outline);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bn-text-dim);
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0.6rem;
}

@media (min-width: 992px) {
    .btn-modal-cancel:hover {
        background: rgba(0, 0, 0, 0.05);
    }
}

.btn-modal-confirm {
    padding: 1.2rem 3.2rem;
    background: var(--bn-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0.6rem;
    box-shadow: 0 1rem 2rem -0.5rem rgba(0, 28, 11, 0.3);
    transition: all 0.3s;
}

@media (min-width: 992px) {
    .btn-modal-confirm:hover {
        opacity: 0.9;
        transform: translateY(-0.2rem);
    }
}

.btn-modal-confirm:active {
    transform: translateY(0);
}

/* --- Responsive Modal --- */
@media (max-width: 768px) {
    .heritage-modal-overlay {
        padding: 1.2rem;
    }

    .heritage-modal__header {
        padding: 2.4rem 2rem;
    }

    .heritage-modal__close {
        top: 1.6rem;
        right: 1.6rem;
    }

    .heritage-modal__title {
        font-size: 2.4rem;
    }

    .heritage-modal__body {
        padding: 2.4rem 2rem;
        max-height: 65vh;
    }

    .scoring-list {
        gap: 2.4rem;
    }

    .scoring-item__label {
        font-size: 1.3rem;
    }

    .scoring-item__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .scoring-item__input {
        padding: 1rem;
        font-size: 1.6rem;
    }

    .heritage-modal__footer {
        padding: 2.4rem 2rem;
        flex-direction: column;
        gap: 2.4rem;
        align-items: center;
        text-align: center;
    }

    .scoring-total__value {
        font-size: 3.2rem;
    }

    .heritage-modal__actions {
        width: 100%;
        /* flex-direction: column-reverse; */
        gap: 1.2rem;
    }

    .btn-modal-confirm,
    .btn-modal-cancel {
        width: 100%;
        margin: 0;
        padding: 1.4rem;
        display: flex;
        justify-content: center;
        font-size: 1.3rem;
    }

    .scoring-total {
        flex-direction: row;
        width: 100%;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .heritage-hero__title {
        font-size: 3.2rem;
    }

    .booth-card__body {
        padding: 1.5rem;
    }

    .booth-card__score-btn {
        padding: 1rem;
    }

    .heritage-hero {
        margin-bottom: 0;
    }



    .heritage-header__title {
        font-size: 2.6rem;

    }
}

@media (max-height: 700px) {
    .heritage-modal__header {
        padding: 2rem;
    }

    .heritage-modal__title {
        font-size: 2.4rem;
    }

    .heritage-modal__body {
        padding: 2.4rem 2rem;
        max-height: calc(100vh - 30rem);
    }

    .heritage-modal__footer {
        padding: 2.4rem 2rem;
        gap: .5rem;
    }

    .scoring-list {
        gap: 2rem;
    }
}

/* ==========================================================================
   BOOTH DETAIL PAGE (The Heritage Chronicle)
   ========================================================================== */

.heritage-detail {
    background-color: var(--bn-bg);
}

/* --- Hero Section --- */
.booth-hero {
    position: relative;
    height: 71.6rem;
    width: 100%;
    overflow: hidden;
}

.booth-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booth-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 28, 11, 0.9) 0%, rgba(0, 28, 11, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 8rem;
}

.booth-hero__content {
    max-width: 90rem;
}

.booth-hero__tag-wrap {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin-bottom: 1.4rem;
}

.booth-hero__tag {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01rem;
    color: white;
}

.booth-hero__line {
    height: 1px;
    width: 6.4rem;
    background: var(--bn-secondary);
}

.booth-hero__title {
    font-style: italic;
    font-size: 6.8rem;
    color: #ffffff;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

/* --- Content Layout --- */
.booth-main {
    padding: 5rem 0;
}

.booth-article__subtitle {
    font-size: 4.2rem;
    margin-bottom: 4rem;
    color: var(--bn-primary);
    font-style: italic;
    line-height: 1.2;
}

.booth-article__content {
    text-align: justify;
    color: var(--bn-text-dim);
    font-weight: 400;
}

.booth-article__content {

    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    ol,
    li,
    ul,
    table {
        margin-bottom: 1rem;
    }

    table {
        width: 100%;
        max-width: 100%;
    }

    ol,
    ul {
        padding-left: 2rem;
    }

    ul li {
        list-style: disc;
    }

    ol li {
        list-style: decimal;
    }
}

/* --- Signature Pull Quote --- */
.booth-quote {
    margin: 6.4rem 0;
    border-left: 0.6rem solid var(--bn-secondary);
    padding: 2.4rem 0 2.4rem 4.8rem;
    background: rgba(128, 86, 14, 0.03);
}

.booth-quote__text {
    font-size: 2.8rem;
    font-style: italic;
    color: var(--bn-primary);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* --- Items Section --- */
.booth-section-title {
    font-size: 2.6rem;
    margin-top: 8rem;
    margin-bottom: 2.8rem;
    color: var(--bn-primary);
}

/* --- Premium Product Card --- */
.product-premium {
    background: #ffffff;
    border-radius: 1.2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    height: 100%;
    /* margin-bottom: 3.2rem; */
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.02);
}

@media (min-width: 992px) {
    .product-premium:hover {
        transform: translateY(-1.2rem);
        box-shadow: 0 3rem 6rem -1rem rgba(0, 28, 11, 0.1);
    }
}

.product-premium__img-wrapper {
    aspect-ratio: 16/13;
    overflow: hidden;
}

.product-premium__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 992px) {
    .product-premium:hover .product-premium__img {
        transform: scale(1.08);
    }
}

.product-premium__body {
    padding: 2.4rem;
}

.product-premium__name {
    font-size: 2.4rem;
    color: var(--bn-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.product-premium__desc {
    font-size: 1.5rem;
    color: var(--bn-text-dim);
    line-height: 1.6;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Sidebar --- */
.booth-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
    position: sticky;
    top: 10rem;
}

.booth-sidebar-label {
    text-transform: uppercase;
    /* letter-spacing: 0.3rem; */
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bn-secondary);
    margin-bottom: 1.2rem;
    display: block;
}

.booth-sidebar-label--light {
    color: var(--bn-accent);
}

/* --- Info Card --- */
.booth-info-card {
    background: #f4f3f1;
    padding: 4rem;
    border-radius: 1.6rem;
}

.booth-info-card__group {
    margin-bottom: 1.2rem;
}

.booth-info-card__group:last-child {
    margin-bottom: 0;
}

.booth-info-card__label {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--bn-text-dim);
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1rem;
}

.booth-info-card__value {
    font-size: 2.4rem;
    color: var(--bn-primary);
    margin: 0;
    font-weight: 600;
}

.booth-info-card__value--icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.7rem;
    font-weight: 400;
}

.booth-info-card__value--icon .material-symbols-outlined {
    font-size: 2.2rem;
    color: var(--bn-secondary);
}

/* --- Rating Card --- */
.booth-rating-card {
    background: linear-gradient(135deg, #001c0b 0%, #0f321c 100%);
    color: #ffffff;
    padding: 4.8rem 4rem;
    border-radius: 1.6rem;
    box-shadow: 0 4rem 8rem -2rem rgba(0, 28, 11, 0.5);
}

.booth-rating-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.booth-rating-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.2rem;
    gap: 5px;
}

.booth-rating-item__label {
    font-size: 1.4rem;
}

.booth-rating-item__value {
    font-style: italic;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--bn-accent);
}

.booth-rating-item__bar {
    height: 0.2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.booth-rating-item__progress {
    height: 100%;
    background: var(--bn-accent);
}

.booth-rating-btn {
    width: 100%;
    /* margin-top: 5.6rem; */
    background: var(--bn-secondary);
    color: #ffffff;
    border: none;
    padding: 2rem;
    border-radius: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 992px) {
    .booth-rating-btn:hover {
        background: #6b470c;
        transform: translateY(-0.3rem);
        box-shadow: 0 1rem 3rem rgba(128, 86, 14, 0.3);
    }
}

.booth-voted {
    margin-top: 5.6rem;
    text-align: center;
    padding: 3.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 1.2rem;
}

.booth-voted:not(.booth-voted--voted) {
    /* display: none; */
    padding: 10px;
}

.booth-voted__label {
    font-size: 1.2rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.2rem;
    opacity: 0.7;
    letter-spacing: 0.1rem;
}

.booth-voted__score {
    font-size: 2rem;
}

.booth-voted__score strong {
    font-size: 3.6rem;
    color: var(--bn-accent);
    font-style: italic;
}

/* --- History Section --- */
.booth-history {
    border-top: 1px solid var(--bn-outline);
    padding-top: 4.8rem;
}

.booth-history__title {
    font-style: italic;
    font-size: 2.1rem;
    color: var(--bn-primary);
    margin-bottom: 2.4rem;
    font-weight: 600;
}

.booth-history__text {
    font-size: 1.6rem;
    color: var(--bn-text-dim);
    line-height: 1.8;
}

/* --- Mobile Adjustments --- */
@media (max-width: 991px) {
    .booth-sidebar {
        position: static;
        margin-top: 2.4rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .booth-hero {
        height: 60rem;
    }

    .booth-hero__title {
        font-size: 4.6rem;
        margin-bottom: 1rem;
    }

    .booth-hero__tag-wrap {
        margin-bottom: 1rem;
    }

    .booth-hero__overlay {
        padding-bottom: 4.8rem;
    }

    .booth-main {
        padding: 3.4rem 0;
    }

    .booth-article__subtitle {
        font-size: 3.2rem;
        margin-bottom: 1.5rem;
    }

    .booth-article__content {
        font-size: 1.7rem;
    }

    .booth-quote {
        padding-left: 3.2rem;
    }

    .booth-quote__text {
        font-size: 2.2rem;
    }

    #heritage-booths .heritage-main {
        padding-bottom: 100px;
    }
}

/* --- Product Detail Modal (Heritage Premium) --- */
.product-detail-modal {
    max-width: 100rem;
    width: 95vw;
    background: var(--bn-bg);
    padding: 0;
    border-radius: 2rem;
    overflow: hidden;
    border: none;
    position: relative;
}

.product-detail-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 110;
    width: 4.4rem;
    height: 4.4rem;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--bn-primary);
}

@media (min-width: 992px) {
    .product-detail-modal__close:hover {
        background: var(--bn-secondary);
        color: #ffffff;
        transform: rotate(90deg) scale(1.1);
    }
}

.product-detail-modal__close .material-symbols-outlined {
    font-size: 2.4rem;
    font-weight: 600;
}

/* Hide default fancybox buttons to use our premium ones */
.fancybox-button--close,
.fancybox-close-small,
.fancybox-button[data-fancybox-close] {
    display: none !important;
}

.product-detail-modal__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 60rem;
}

.product-detail-modal__img-side {
    background: #000;
    overflow: hidden;
}

.product-detail-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 992px) {
    .product-detail-modal:hover .product-detail-modal__img {
        transform: scale(1.05);
    }
}

.product-detail-modal__content {
    padding: 6.4rem;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    justify-content: center;
}

.product-detail-modal__title {
    font-size: 4.2rem;
    font-style: italic;
    color: var(--bn-primary);
    margin-bottom: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.product-detail-modal__desc {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--bn-text-dim);
    font-weight: 400;
}

/* Fancybox Overrides for Heritage */
.fancybox-content {
    background: transparent !important;
    padding: 0 !important;
}

.fancybox-bg {
    background: rgba(0, 28, 11, 0.95) !important;
    backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
    .product-detail-modal__grid {
        grid-template-columns: 1fr;
    }

    .product-detail-modal__img-side {
        height: 40rem;
    }

    .product-detail-modal__content {
        padding: 4.8rem;
    }

    .product-detail-modal__title {
        font-size: 3.2rem;
    }
}

/* --- Mobile Scroll for Products --- */
@media (max-width: 768px) {
    .booth-items .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 2rem;
        margin-left: 0 !important;
        /* Allow scroll to edge */
        margin-right: -2rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .booth-rating-card {
        padding: 2rem;
    }

    .booth-items .row::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    .booth-section-title {
        margin-top: 2rem;
        margin-bottom: 2.4rem;
        font-size: 2.8rem;
    }

    .booth-items .clm {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: start;
        padding: 0 !important;
        /* Gap handled by parent gap */
    }

    .product-premium {
        margin-bottom: 0;
        /* Vertical margin not needed in horizontal scroll */
        height: 100%;
    }

    #heritage-booths .heritage-header__title {
        font-size: 2.2rem;
    }

    .booth-info-card {
        padding: 2rem;
    }
}

p.booth-hero__subtitle {
    color: #cecccc;
}

/* --- Heritage Search Bar --- */
.heritage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.8rem;
    border-bottom: 0.1rem solid var(--bn-outline);
    padding-bottom: 2.4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.heritage-header__left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.heritage-search {
    flex: 0 0 40rem;
    max-width: 100%;
}

.heritage-search__inner {
    position: relative;
    display: flex;
    align-items: center;
}

.heritage-search__icon {
    position: absolute;
    left: 1.6rem;
    color: var(--bn-text-dim);
    font-size: 2rem;
    pointer-events: none;
}

.heritage-search__input {
    width: 100%;
    padding: 1.2rem 1.6rem 1.2rem 4.8rem;
    background: var(--bn-surface);
    border: 0.1rem solid var(--bn-outline);
    border-radius: 10rem;
    /* Changed to serif for more premium look */
    font-size: 1.8rem;
    color: var(--bn-text);
    transition: all 0.3s ease;
    height: 4.8rem;
}

.heritage-search__input:focus {
    outline: none;
    border-color: var(--bn-secondary);
    box-shadow: 0 0.4rem 2rem -0.4rem rgba(128, 86, 14, 0.15);
}

.heritage-search__loader {
    position: absolute;
    right: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    border: 0.2rem solid rgba(128, 86, 14, 0.1);
    border-top: 0.2rem solid var(--bn-secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.heritage-empty {
    text-align: center;
    padding: 8rem 2rem;
    background: var(--bn-surface);
    border-radius: 1.2rem;
    border: 0.1rem dashed var(--bn-outline);
    width: 100%;
}

.heritage-empty__icon {
    font-size: 4.8rem;
    color: var(--bn-outline);
    margin-bottom: 1.6rem;
}

.heritage-empty__text {
    color: var(--bn-text-dim);

}

@media (max-width: 768px) {
    .heritage-search {
        flex: 1 1 100%;
    }

    .heritage-header {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .booth-main {
        padding-bottom: 150px;
    }

    .booth-voted {
        border-radius: 0;
        position: fixed;
        left: 0;
        bottom: 78px;
        width: 100%;
        display: flex;
        background: #0e2d19;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }

    .booth-voted__label {
        margin-bottom: 0;
    }

    .heritage-search__input {
        font-size: 1.4ren;
    }
}