/* Explain: Component styles for gallery filter buttons, lightbox, and promo popup. */
.is-hidden {
    display: none !important;
}

.gallery-filter-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--text-color);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(74, 55, 40, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.gallery-filter-active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.gallery-filter-active:hover {
    color: #ffffff;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(74, 55, 40, 0.85);
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-inner {
    background: #ffffff;
    border-radius: 2rem;
    padding: 1rem;
    max-width: 56rem;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox-img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 1.5rem;
}

.gallery-lightbox-caption {
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
    padding: 1rem 0.5rem 0.25rem;
    font-family: var(--font-heading);
}

.gallery-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--text-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.gallery-lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
    color: var(--primary-color);
}

.gallery-no-scroll {
    overflow: hidden;
}

.gallery-load-more {
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.85rem 2.4rem;
    border-radius: 9999px;
    background: var(--primary-color);
    color: #ffffff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 6px 16px rgba(74, 55, 40, 0.15);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.gallery-load-more:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.03);
}

.gallery-load-more:disabled {
    opacity: 0.6;
    cursor: default;
}

.promo-no-scroll {
    overflow: hidden;
}

.tz-promo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.tz-promo-overlay.is-open {
    display: flex;
}

.tz-promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(74, 55, 40, 0.7);
}

.tz-promo-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    background: var(--background-color);
    border: 4px solid #ffffff;
    border-radius: 2.5rem;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.tz-promo-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: none;
    background: #ffffff;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(74, 55, 40, 0.15);
    transition: all 0.3s ease;
}

.tz-promo-close:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}

.tz-promo-icon {
    margin: 0 auto 1rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #A891C8;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tz-promo-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-color);
}

.tz-promo-text {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-muted);
}

.tz-promo-strong {
    font-weight: 700;
    color: var(--primary-color);
}

.tz-promo-thanks {
    margin-top: 0.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.tz-promo-button {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    background: var(--primary-color);
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(74, 55, 40, 0.15);
    transition: all 0.3s ease;
}

.tz-promo-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}