/* ==============================================================
   THEME
   ============================================================== */

:root {
    --green: #0a1801;
    --yellow: #cb9451;
    --white: #ffffff;
    --off-white: #f7f7f7;
    --text: #0a1801;
    --muted: #666666;

    --header-content-height: 72px;
    --safe-top: env(safe-area-inset-top, 0px);
    --header-height: calc(var(--header-content-height) + var(--safe-top));

    --footer-height: 72px;
    --content-width: 1440px;

    --card-radius: 14px;
    --button-radius: 9px;

    --shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.22);

    --transition: 180ms ease;
}

/* ==============================================================
   RESET
   ============================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--yellow);

    background-color: var(--green);
    background-image: url("images/background2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    overflow-x: hidden;
}
body.menu-open,
body.overlay-open {
    overflow: hidden;
}
button,
input {
    font: inherit;
}

button,
a,
input,
.item-card {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.item-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}


/* ==============================================================
   HEADER
   ============================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: var(--header-height);
    padding-top: var(--safe-top);

    z-index: 1000;

    background: rgba(10, 24, 1, 0.94);
    border-bottom: 1px solid var(--yellow);

    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.24);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    width: min(
        calc(100% - 40px),
        var(--content-width)
    );

    height: var(--header-content-height);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}
.site-logo {
    height: 100%;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 220px;
    object-fit: contain;
}

/* ==============================================================
   DESKTOP NAVIGATION
   ============================================================== */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 6px;
}

.desktop-nav a,
.mobile-menu a {
    color: var(--yellow);

    text-decoration: none;

    font-weight: 700;

    padding: 10px 13px;

    border-radius: 7px;

    transition:
        color var(--transition),
        background var(--transition);
}

.desktop-nav a:hover,
.mobile-menu a:hover {
    color: var(--green);
    background: var(--yellow);
}


/* ==============================================================
   HAMBURGER
   ============================================================== */

.hamburger {
    display: none;

    width: 46px;
    height: 46px;

    padding: 9px;

    border:
        1px solid rgba(242, 201, 76, 0.55);

    border-radius: var(--button-radius);

    background:
        rgba(255, 255, 255, 0.04);

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 100%;
    height: 3px;

    margin: 5px 0;

    border-radius: 2px;

    background: var(--yellow);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* ==============================================================
   MOBILE MENU
   ============================================================== */

.mobile-menu {
    display: none;
}


.site-logo-spacer {
    width: 220px;
    flex: 0 0 auto;
}

/* ==============================================================
   MAIN CONTENT
   ============================================================== */

.main-content {
    min-height: 100vh;

    padding:
        calc(var(--header-height) + 24px)
        24px
        calc(var(--footer-height) + 24px);
}

.desktop-container,
.mobile-container {
    width: min(
        100%,
        var(--content-width)
    );

    margin: 0 auto;
}


/* ==============================================================
   CONTENT HEADER
   ============================================================== */

.content-header {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 18px;
}

.content-header h1,
.mobile-content-header h1 {
    margin: 0;

    color: var(--yellow);

    font-size:
        clamp(1.7rem, 3vw, 2.35rem);

    line-height: 1.1;
}


/* ==============================================================
   PAGINATION
   ============================================================== */

.pagination {
    display: flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

.pagination-button {
    min-height: 40px;

    padding: 8px 14px;

    border: 1px solid var(--yellow);

    border-radius: var(--button-radius);

    color: var(--yellow);

    background:
        rgba(255, 255, 255, 0.04);

    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        opacity var(--transition);
}

.pagination-button:hover:not(:disabled) {
    color: var(--green);
    background: var(--yellow);
}

.pagination-button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.page-status {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: var(--yellow);

    font-weight: 700;
}

.page-status input {
    width: 60px;
    height: 38px;

    border: 1px solid var(--yellow);

    border-radius: 7px;

    color: var(--green);
    background: var(--white);

    font-weight: 800;

    text-align: center;

    -moz-appearance: textfield;
}

.page-status input::-webkit-inner-spin-button,
.page-status input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}


/* ==============================================================
   DESKTOP/TABLET GRID
   ============================================================== */

.data-grid {
    width: 100%;
}

.cards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* ==============================================================
   CARDS
   ============================================================== */

.item-card {
    width: 100%;

    min-height: 86px;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 13px 16px;

    border:
        2px solid transparent;

    border-radius:
        var(--card-radius);

    color: var(--text);
    background: var(--white);

    box-shadow: var(--shadow);

    cursor: pointer;

    user-select: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.item-card:hover {
    transform: translateY(-3px);

    border-color: var(--yellow);

    box-shadow:
        var(--shadow-hover);
}

.item-card:active {
    transform: translateY(-1px);
}

.item-badge {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--green);

    background:
        linear-gradient(
            145deg,
            var(--yellow),
            var(--yellow)
        );

    border:
        2px solid rgba(201, 156, 32, 0.5);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.16);

    font-size: 0.92rem;
    font-weight: 900;

    letter-spacing: 0.05em;
}

.item-title {
    min-width: 0;

    font-size: 1.08rem;
    font-weight: 800;

    overflow-wrap: anywhere;
}


/* ==============================================================
   MOBILE CONTAINER
   ============================================================== */

.mobile-container {
    display: none;
}

.mobile-content-header {
    margin-bottom: 18px;
}

.mobile-cards {
    display: flex;
    flex-direction: column;

    gap: 13px;
}

.loading {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    color: var(--yellow);

    font-weight: 700;

    text-align: center;
}


/* ==============================================================
   FOOTER
   ============================================================== */

.site-footer {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: var(--footer-height);

    z-index: 900;

    display: flex;
    align-items: center;

    background: rgba(10, 24, 1, 0.94);
    border-top: 1px solid var(--yellow);
    color: var(--yellow);

    box-shadow:
        0 -3px 16px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-inner {
    width: min(
        calc(100% - 40px),
        var(--content-width)
    );

    margin: 0 auto;

    text-align: center;

    font-size: 0.9rem;
}


/* ==============================================================
   ITEM OVERLAY
   ============================================================== */

.item-overlay {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 3vh 3vw;

    background:
        rgba(0, 0, 0, 0.72);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.item-overlay.open {
    opacity: 1;
    visibility: visible;
}

.overlay-panel {
    position: relative;

    width: 90vw;
    height: 90vh;

    max-width: 1400px;

    overflow: auto;

    border-radius: 18px;

    color: var(--text);
    background: var(--white);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.48);

    transform: scale(0.98);

    transition:
        transform var(--transition);
}

.item-overlay.open .overlay-panel {
    transform: scale(1);
}

.overlay-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    color: var(--white);
    background: var(--green);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.overlay-close:hover {
    color: var(--green);
    background: var(--yellow);

    transform: scale(1.05);
}

.overlay-content {
    min-height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 80px 40px;

    text-align: center;
}

.overlay-badge {
    width: 100px;
    height: 100px;

    flex-basis: 100px;

    margin-bottom: 25px;

    font-size: 1.35rem;
}

.overlay-content h2 {
    margin:
        0
        0
        15px;

    color: var(--green);

    font-size:
        clamp(2rem, 5vw, 3.5rem);
}

.overlay-content p {
    max-width: 700px;

    margin: 0;

    color: var(--muted);

    font-size:
        clamp(1.05rem, 2vw, 1.35rem);

    line-height: 1.6;
}


/* ==============================================================
   TABLET: 769px - 1199px
   ============================================================== */

@media
    (min-width: 769px)
    and (max-width: 1199px) {

    .cards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
        
    .site-logo-spacer {
        display: none;
    }
        
}


/* ==============================================================
   TABLET + MOBILE NAVIGATION: <= 1199px
   ============================================================== */

@media (max-width: 1199px) {

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        position: fixed;

        top: var(--header-height);
        right: 20px;

        width: max-content;
        min-width: 190px;
        max-width: calc(100vw - 40px);

        display: flex;
        flex-direction: column;

        padding: 8px;

        background: rgba(10, 24, 1, 0.98);

        border: 1px solid var(--yellow);
        border-top: none;

        border-radius: 0 0 10px 10px;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

        transform: translateY(calc(-100% - 20px));

        opacity: 0;
        visibility: hidden;

        transition:
            transform 220ms ease,
            opacity 220ms ease,
            visibility 220ms ease;
    }
    
    .mobile-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu a {
        color: var(--yellow);
        text-decoration: none;

        padding: 12px 18px;

        border-bottom: 1px solid rgba(203, 148, 81, 0.14);
        border-radius: 6px;

        font-weight: 700;

        white-space: nowrap;
        text-align: right;
    }
    
    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover {
        color: var(--green);
        background: var(--yellow);
    }
    
    .site-logo-spacer {
        display: none;
    }

}

/* ==============================================================
   MOBILE: <= 768px
   ============================================================== */

@media (max-width: 768px) {
    :root {
        --header-content-height: 64px;
        --footer-height: 72px;
    }
    
    .site-logo img {
        height: 48px;
        max-width: 190px;
    }
    
    .site-header {
        /* Keep header crisp on smaller devices. */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .header-inner {
        width:
            calc(100% - 28px);
    }

    .site-title {
        font-size: 1.4rem;
    }

    .main-content {
        padding:
            calc(var(--header-height) + 20px)
            14px
            calc(var(--footer-height) + 20px);
    }

    .desktop-container {
        display: none;
    }

    .mobile-container {
        display: block;
    }

    .mobile-content-header {
        display: block;
    }

    .mobile-content-header h1 {
        display: block;
    }

    .item-card {
        min-height: 82px;

        padding: 11px 13px;

        gap: 14px;
    }

    .item-badge {
        width: 56px;
        height: 56px;

        flex-basis: 56px;
    }

    .overlay-panel {
        width: 90vw;
        height: 90vh;
    }

    .overlay-content {
        padding:
            75px
            24px
            40px;
    }
}


/* ==============================================================
   SMALL MOBILE
   ============================================================== */

@media (max-width: 420px) {

    .item-title {
        font-size: 1rem;
    }

    .overlay-close {
        width: 42px;
        height: 42px;

        top: 12px;
        right: 12px;
    }
}


/* ==============================================================
   REDUCED MOTION
   ============================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==============================================================
   HOME PAGE
   ============================================================== */

.home-main {
    position: fixed;

    top: var(--header-height);
    right: 0;
    bottom: var(--footer-height);
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.home-logo {
    display: block;

    width: auto;
    height: auto;

    max-width: min(80vw, 900px);
    max-height: calc(
        100vh -
        var(--header-height) -
        var(--footer-height) -
        60px
    );

    object-fit: contain;
}

/* ==============================================================
   ARTISTS PAGE
   ============================================================== */

.artists-container {
    width: min(100%, 1100px);
    margin: 0 auto;
}


/* --------------------------------------------------------------
   Header
   -------------------------------------------------------------- */

.artists-header {
    margin-bottom: 26px;

    text-align: center;
}


.artists-header h1 {
    margin: 0 0 8px;

    color: var(--yellow);

    font-size:
        clamp(1.8rem, 3vw, 2.5rem);
}


.artists-header p {
    margin: 0;

    color: var(--yellow);

    font-size: 1rem;
}


/* --------------------------------------------------------------
   Artist directory
   -------------------------------------------------------------- */

.artists-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 40px;
    row-gap: 0;
}


.artists-list a,
.artists-list span {
    min-width: 0;

    padding: 6px 8px;

    color: var(--yellow);

    font-size: 1.05rem;
    font-weight: 700;

    text-align: center;
}

.artists-list a {
    text-decoration: none;

    transition:
        color var(--transition),
        transform var(--transition);
}


.artists-list a:hover {
    color: var(--white);

    transform: translateY(-2px);
}


.artists-list span {
    font-style: italic;
}


/* ==============================================================
   ARTISTS: TABLET
   ============================================================== */

@media
    (min-width: 769px)
    and (max-width: 1199px) {

    .artists-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==============================================================
   ARTISTS: MOBILE
   ============================================================== */

@media (max-width: 768px) {

    .artists-header {
        margin-bottom: 20px;
    }

    .artists-list {
        grid-template-columns: 1fr;

        row-gap: 0px;
    }

    .artists-list a,
    .artists-list span {
        padding: 5px 6px;
    }
}

/* ==============================================================
   LOCATIONS PAGE
   ============================================================== */

.locations-container {
    width: min(100%, 900px);
    margin: 0 auto;
}


.locations-header {
    margin-bottom: 28px;

    text-align: center;
}


.locations-header h1 {
    margin: 0;

    color: var(--yellow);

    font-size:
        clamp(1.8rem, 3vw, 2.5rem);
}

.locations-main {
    min-height: 100vh;
}

.locations-container {
    width: min(100%, 900px);
    margin: 0 auto;
}

.locations-viewing-area {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: calc(
        100vh -
        var(--header-height) -
        var(--footer-height) -
        110px
    );
}

/* --------------------------------------------------------------
   Locations
   -------------------------------------------------------------- */

.locations-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 60px;

    align-items: start;
}


.location {
    min-width: 0;

    text-align: center;
}


.location-map {
    display: block;

    width: min(100%, 300px);

    margin: 0 auto 18px;

    text-decoration: none;
}


.location-map img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border: 2px solid var(--yellow);
    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.location-map:hover img {
    transform: translateY(-3px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.36);
}


.location-name {
    color: var(--yellow);

    font-size: 1.25rem;
    font-weight: 700;
}


.location-place {
    margin-top: 4px;

    color: var(--yellow);

    font-size: 1.05rem;
}


/* ==============================================================
   LOCATIONS: MOBILE
   ============================================================== */

@media (max-width: 768px) {

    .locations-header {
        margin-bottom: 22px;
    }

    .locations-list {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    .location-map {
        width: min(72vw, 280px);

        margin-bottom: 14px;
    }

    .location-name {
        font-size: 1.15rem;
    }
}

/* ==============================================================
   GALLERY HOME
   ============================================================== */

.gallery-home {
    width: min(100%, 900px);
    margin: 0 auto;
}

.gallery-header {
    margin-bottom: 34px;
    text-align: center;
}

.gallery-header h1 {
    margin: 0;

    color: var(--yellow);

    font-size:
        clamp(1.8rem, 3vw, 2.5rem);
}

/* --------------------------------------------------------------
   Gallery sections
   -------------------------------------------------------------- */

.gallery-sections {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 36px;

    align-items: start;
}


.gallery-section-link {
    display: block;

    min-width: 0;

    color: var(--yellow);

    text-align: center;
    text-decoration: none;

    transition:
        color var(--transition),
        transform var(--transition);
}


.gallery-section-link img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border: 2px solid var(--yellow);
    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28);

    transition:
        box-shadow var(--transition);
}


.gallery-section-link span {
    display: block;

    margin-top: 12px;

    font-size: 1.3rem;
    font-weight: 700;
}


.gallery-section-link:hover {
    color: var(--white);

    transform: translateY(-3px);
}


.gallery-section-link:hover img {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.38);
}


/* ==============================================================
   GALLERY HOME: MOBILE
   ============================================================== */

@media (max-width: 768px) {

    .gallery-sections {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .gallery-section-link {
        width: min(78vw, 340px);

        margin: 0 auto;
    }

    .gallery-section-link span {
        margin-top: 8px;

        font-size: 1.2rem;
    }
}

/* ==============================================================
   PHOTO GALLERIES
   ============================================================== */

.photo-gallery {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.gallery-header p {
    margin: 8px 0 0;
}

.gallery-header p a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
}

.gallery-header p a:hover {
    color: var(--white);
}


/* --------------------------------------------------------------
   Thumbnail grid
   -------------------------------------------------------------- */

.photo-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.photo-thumbnail {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    padding: 0;

    overflow: hidden;

    border: 1px solid var(--yellow);
    border-radius: 8px;

    background: var(--green);

    cursor: pointer;
}


.photo-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--transition);
}


.photo-thumbnail:hover img {
    transform: scale(1.04);
}


/* ==============================================================
   PHOTO OVERLAY
   ============================================================== */

.photo-overlay {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(0, 0, 0, 0.88);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}


.photo-overlay.open {
    opacity: 1;
    visibility: visible;
}


.photo-overlay-panel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(94vw, 1200px);
    height: min(88vh, 900px);
}


.photo-overlay-panel img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.45);
}


/* --------------------------------------------------------------
   Close button
   -------------------------------------------------------------- */

.photo-overlay-close {
    position: absolute;

    top: -8px;
    right: -8px;

    z-index: 3;

    width: 44px;
    height: 44px;

    border: 0;

    background: transparent;

    color: var(--yellow);

    font-size: 2.4rem;
    line-height: 1;

    cursor: pointer;
}


/* --------------------------------------------------------------
   Previous / Next
   -------------------------------------------------------------- */

.photo-nav {
    position: absolute;
    top: 50%;

    z-index: 3;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: var(--yellow);

    font-size: 2.5rem;

    cursor: pointer;

    padding: 20px;
}


.photo-prev {
    left: -60px;
}


.photo-next {
    right: -60px;
}


/* ==============================================================
   GALLERY: TABLET
   ============================================================== */

@media
    (min-width: 769px)
    and (max-width: 1199px) {

    .photo-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .photo-prev {
        left: 0;
    }

    .photo-next {
        right: 0;
    }
}


/* ==============================================================
   GALLERY: MOBILE
   ============================================================== */

@media (max-width: 768px) {

    .photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .photo-overlay {
        padding: 12px;
    }

    .photo-overlay-panel {
        width: 100%;
        height: 90vh;
    }

    .photo-prev {
        left: 0;
    }

    .photo-next {
        right: 0;
    }

    .photo-nav {
        padding: 14px;

        font-size: 2rem;

        text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.8);
    }

    .photo-overlay-close {
        top: 0;
        right: 0;
    }
    
    .recipe-search-panel {
        padding: 12px;
    }

    .recipe-search-form {
        gap: 8px;
    }

    .recipe-search-submit,
    .recipe-search-clear {
        padding: 0 12px;
    }

}

/* ============================================================
   DATABASE RECIPE LIST
   ============================================================ */

.recipes-main {
    width: 100%;
    box-sizing: border-box;
}

.recipes-container {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.recipes-header {
    text-align: center;
    margin-bottom: 20px;
}

.recipes-header h1 {
    margin: 0;
    color: var(--yellow);
    font-size: 2rem;
}

.results-meta {
    margin-top: 6px;
    color: var(--yellow);
    font-size: 0.95rem;
}


/* ---------- Cards ---------- */

.recipe-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.recipe-card {
    width: 100%;
    min-width: 0;
    height: 112px;
    margin: 0;
    padding: 8px;

    display: flex;
    align-items: center;
    gap: 12px;

    appearance: none;
    -webkit-appearance: none;

    border: 1px solid rgba(203, 148, 81, 0.65);
    border-radius: 12px;

    background: rgba(247, 247, 247, 0.96);
    box-shadow: var(--shadow);

    font-family: inherit;
    text-align: left;
    cursor: pointer;

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.recipe-card:hover {
    transform: translateY(-2px);
    border-color: var(--yellow);
    box-shadow: var(--shadow-hover);
}

.recipe-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}


/* ---------- Cocktail thumbnail ---------- */

.recipe-card[hidden] {
    display: none !important;
}

.recipe-card-image {
    width: 94px;
    height: 94px;

    flex: 0 0 94px;

    display: block;
    object-fit: cover;

    border-radius: 8px;
    border: 1px solid rgba(10, 24, 1, 0.2);

    background: #ffffff;
}


/* ---------- Card text ---------- */

.recipe-card-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.recipe-card-name {
    display: block;

    color: var(--green);

    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.15;
}

.recipe-card-ingredients {
    display: -webkit-box;
    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    color: #555555;

    font-size: 0.83rem;
    font-weight: 400;
    line-height: 1.3;
}


/* ---------- Empty results ---------- */

.recipes-empty {
    grid-column: 1 / -1;

    padding: 40px 20px;

    color: var(--yellow);
    text-align: center;
    font-size: 1.1rem;
}


/* ============================================================
   RECIPE HEADER + PAGINATION
   ============================================================ */

.recipe-content-header {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 18px;
}

.recipe-heading h1 {
    margin: 0;

    color: var(--yellow);

    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.results-meta {
    margin-top: 4px;

    color: var(--yellow);

    font-size: 0.9rem;
}


/* Pagination */

.pagination {
    display: flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

.pagination-button {
    min-height: 40px;

    padding: 8px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    color: var(--yellow);

    background: rgba(255, 255, 255, 0.04);

    font-weight: 700;
    text-decoration: none;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        opacity var(--transition);
}

.pagination-button:hover:not(.disabled) {
    color: var(--green);
    background: var(--yellow);
}

.pagination-button.disabled {
    opacity: 0.38;
    cursor: default;
}

.page-status {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);

    font-weight: 700;
}

.page-nav {
    padding: 7px 10px;
}

.page-num {
    min-width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: 7px;
}

.page-num:hover {
    background: rgba(203, 148, 81, 0.15);
}

.page-num.active {
    color: var(--green);
    background: var(--yellow);
}

.page-nav.disabled {
    opacity: 0.35;
}


/* ============================================================
   RECIPE SEARCH OVERLAY
   ============================================================ */

.recipe-search-panel {
    position: fixed;

    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 950;

    padding: 16px 18px;

    background: rgba(10, 24, 1, 0.97);

    border: 1px solid var(--yellow);
    border-radius: 0 0 12px 12px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);

    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;

    transition:
        transform 240ms ease,
        opacity 180ms ease,
        visibility 240ms ease;
}


.recipe-search-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}


.recipe-search-form {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
}


.recipe-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 42px;

    padding: 0 12px;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    background: var(--white);
    color: var(--text);

    font: inherit;
}


.recipe-search-submit,
.recipe-search-clear {
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    background: var(--yellow);
    color: var(--green);

    font: inherit;
    font-weight: 700;
    text-decoration: none;

    cursor: pointer;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (min-width: 769px) and (max-width: 1199px) {

    .recipes-container {
        width: min(100%, 900px);
    }

    .recipe-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   PHONE
   ============================================================ */

@media (max-width: 768px) {

    .recipes-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .recipes-header {
        margin-bottom: 14px;
    }

    .recipes-header h1 {
        font-size: 1.6rem;
    }

    .recipe-card-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .recipe-card {
        height: 100px;
        padding: 7px;
        gap: 10px;
        border-radius: 10px;
    }

    .recipe-card-image {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }

    .recipe-card-name {
        font-size: 1rem;
    }

    .recipe-card-ingredients {
        font-size: 0.78rem;
        -webkit-line-clamp: 3;
    }

    .recipe-pagination {
        gap: 5px;
    }

    .page-numbers {
        max-width: 55vw;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .recipe-search-form {
        flex-wrap: wrap;
    }

    .recipe-search-form input {
        flex: 1 1 100%;
    }
    
    .pagination {
    display: none;
    }

}

/* Recipe pagination visibility */

@media (min-width: 769px) {

    .recipes-container .pagination {
        display: flex;
    }
    
    body:has(.recipes-main) {
        height: 100vh;
        overflow-y: hidden;
    }


}

/* Recipes: phone uses continuous scrolling */

@media (max-width: 768px) {

    .recipes-container .pagination {
        display: none !important;
    }

}

/* JavaScript recipe pagination */
.recipe-card.recipe-page-hidden {
    display: none !important;
}

/* ============================================================
   HEADER ACTIONS
   ============================================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}


.header-search-button {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px;

    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--button-radius);

    color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition);
}

.header-share-button {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px;

    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--button-radius);

    color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition);
}

.header-share-button svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-share-button:hover {
    color: var(--green);
    background: var(--yellow);
}


/* ============================================================
   ADD TO HOME SCREEN
   ============================================================ */

.home-screen-overlay {
    position: fixed;
    inset: 0;

    z-index: 6000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.72);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.home-screen-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-screen-panel {
    position: relative;

    width: min(90vw, 440px);

    padding: 34px 28px 28px;

    border: 1px solid var(--yellow);
    border-radius: 16px;

    color: var(--yellow);
    background: var(--green);

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.home-screen-close {
    position: absolute;

    top: 10px;
    right: 12px;

    width: 38px;
    height: 38px;

    border: 0;

    color: var(--yellow);
    background: transparent;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

.home-screen-share-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--button-radius);

    color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);
}

.home-screen-share-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-screen-panel h2 {
    margin: 0 0 14px;

    color: var(--yellow);

    font-size: 1.5rem;
    line-height: 1.2;
}

.home-screen-panel p {
    margin: 0 0 22px;

    color: var(--white);

    font-size: 1rem;
    line-height: 1.55;
}

.home-screen-done {
    min-height: 42px;

    padding: 8px 22px;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    color: var(--green);
    background: var(--yellow);

    font-weight: 700;

    cursor: pointer;
}

.home-screen-done:hover {
    color: var(--yellow);
    background: var(--green);
}


.header-search-button svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}


.header-search-button:hover,
.header-search-button.open {
    color: var(--green);
    background: var(--yellow);
}

/* ============================================================
   COCKTAIL RECIPE OVERLAY
   ============================================================ */

.recipe-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(0, 0, 0, 0.78);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}


.recipe-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ---------- Modal panel ---------- */

.recipe-overlay-panel {
    position: relative;

    width: min(94vw, 1100px);
    max-height: min(90vh, 900px);

    overflow-y: auto;
    overflow-x: hidden;

    border: 1px solid var(--yellow);
    border-radius: 16px;

    color: var(--yellow);
    background: rgba(10, 24, 1, 0.98);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.6);

    transform: scale(0.98);

    transition:
        transform 180ms ease;
}


.recipe-overlay.open .recipe-overlay-panel {
    transform: scale(1);
}


/* ---------- Close button ---------- */

.recipe-overlay-close {
    position: sticky;
    top: 12px;

    z-index: 10;

    float: right;

    width: 44px;
    height: 44px;

    margin:
        12px
        12px
        -56px
        0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--yellow);
    border-radius: 50%;

    color: var(--yellow);
    background: var(--green);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition);
}


.recipe-overlay-close:hover,
.recipe-overlay-close:focus-visible {
    color: var(--green);
    background: var(--yellow);
}


/* ---------- Content ---------- */

.recipe-overlay-content {
    padding: 34px 38px 38px;
}


.recipe-detail-data {
    width: 100%;
}


/* ============================================================
   COCKTAIL HEADER
   ============================================================ */

.cocktail-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    padding:
        0
        58px
        20px
        0;

    border-bottom:
        1px solid rgba(203, 148, 81, 0.45);
}


.cocktail-detail-heading {
    min-width: 0;
}


.cocktail-detail-heading h2 {
    margin: 0;

    color: var(--yellow);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.05;
}


.cocktail-detail-style {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1rem;
}


.cocktail-detail-meta {
    flex: 0 0 auto;

    text-align: right;
}


.cocktail-detail-glass {
    color: var(--yellow);

    font-size: 1rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.cocktail-detail-volume {
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.95rem;
}


/* ============================================================
   MAIN RECIPE AREA
   ============================================================ */

.cocktail-detail-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(240px, 320px);

    gap: 42px;

    align-items: start;

    padding: 28px 0;
}


.cocktail-detail-section h3 {
    margin:
        0
        0
        12px;

    color: var(--yellow);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* ============================================================
   INGREDIENT TABLE
   ============================================================ */

.cocktail-ingredient-table {
    width: 100%;
}


.cocktail-ingredient-header,
.cocktail-ingredient-row {
    display: grid;

    grid-template-columns:
        90px
        100px
        minmax(0, 1fr);

    gap: 12px;

    align-items: baseline;
}


.cocktail-ingredient-header {
    padding:
        0
        8px
        7px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
}


.cocktail-ingredient-row {
    padding: 8px;

    border-top:
        1px solid rgba(203, 148, 81, 0.18);

    color: var(--white);

    line-height: 1.3;
}


.cocktail-ingredient-row:last-child {
    border-bottom:
        1px solid rgba(203, 148, 81, 0.18);
}


/* ============================================================
   GARNISH
   ============================================================ */

.cocktail-detail-recipe
.cocktail-detail-section + .cocktail-detail-section {
    margin-top: 28px;
}


.cocktail-garnish-list {
    color: var(--white);

    line-height: 1.5;
}


.cocktail-garnish-item + .cocktail-garnish-item {
    margin-top: 4px;
}


/* ============================================================
   COCKTAIL PHOTO
   ============================================================ */

.cocktail-detail-photo-wrap {
    display: flex;
    justify-content: center;
}


.cocktail-detail-photo {
    display: block;

    width: 100%;
    max-width: 320px;
    height: auto;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border: 1px solid var(--yellow);
    border-radius: 10px;

    background: var(--white);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   INSTRUCTIONS / HISTORY
   ============================================================ */

.cocktail-instructions,
.cocktail-history {
    padding: 24px 0;

    border-top:
        1px solid rgba(203, 148, 81, 0.45);
}


.cocktail-detail-text {
    color: var(--white);

    font-size: 1rem;
    line-height: 1.65;

    white-space: pre-line;
}


.cocktail-service-meta {
    display: flex;
    flex-wrap: wrap;

    gap:
        8px
        30px;

    padding-top: 20px;

    border-top:
        1px solid rgba(203, 148, 81, 0.45);

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
}


.cocktail-service-meta strong {
    color: var(--yellow);
}


/* ============================================================
   RECIPE OVERLAY: TABLET
   ============================================================ */

@media
    (min-width: 769px)
    and (max-width: 1199px) {

    .recipe-overlay {
        padding: 22px;
    }


    .recipe-overlay-panel {
        width: 94vw;
        max-height: 90vh;
    }


    .recipe-overlay-content {
        padding: 30px;
    }


    .cocktail-detail-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(220px, 280px);

        gap: 30px;
    }


    .cocktail-ingredient-header,
    .cocktail-ingredient-row {
        grid-template-columns:
            75px
            90px
            minmax(0, 1fr);
    }
}


/* ============================================================
   RECIPE OVERLAY: PHONE
   ============================================================ */

@media (max-width: 768px) {

    .recipe-overlay {
        padding: 10px;
    }


    .recipe-overlay-panel {
        width: 100%;
        max-height:
            calc(100vh - 20px);

        border-radius: 12px;
    }


    .recipe-overlay-content {
        padding:
            24px
            18px
            30px;
    }


    .recipe-overlay-close {
        width: 40px;
        height: 40px;

        top: 8px;

        margin:
            8px
            8px
            -48px
            0;
    }


    .cocktail-detail-header {
        display: block;

        padding:
            0
            48px
            18px
            0;
    }


    .cocktail-detail-heading h2 {
        font-size: 1.8rem;
    }


    .cocktail-detail-meta {
        margin-top: 12px;

        text-align: left;
    }


    .cocktail-detail-main {
        display: flex;
        flex-direction: column;

        gap: 26px;

        padding: 22px 0;
    }


    .cocktail-detail-recipe {
        width: 100%;
    }


    .cocktail-detail-photo-wrap {
        width: 100%;

        order: 2;
    }


    .cocktail-detail-photo {
        width: min(100%, 300px);
    }


    .cocktail-ingredient-header,
    .cocktail-ingredient-row {
        grid-template-columns:
            64px
            78px
            minmax(0, 1fr);

        gap: 7px;
    }


    .cocktail-ingredient-header {
        padding-left: 5px;
        padding-right: 5px;

        font-size: 0.65rem;
    }


    .cocktail-ingredient-row {
        padding:
            8px
            5px;

        font-size: 0.9rem;
    }


    .cocktail-instructions,
    .cocktail-history {
        padding: 20px 0;
    }


    .cocktail-service-meta {
        display: block;
    }


    .cocktail-service-meta span {
        display: block;

        margin-top: 6px;
    }
}

/* ============================================================
   SCHEDULE
   ============================================================ */

.schedule-main {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(var(--footer-height) + 32px);
}

.schedule-container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.schedule-heading {
    margin-bottom: 24px;
    text-align: center;
}

.schedule-heading h1 {
    margin: 0;

    color: var(--yellow);

    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.15;
}

.schedule-subtitle,
.previous-events-heading h2 {
    margin: 0;

    color: var(--yellow);

    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1.15;
}

.schedule-subtitle {
    margin-top: 12px;
}

.schedule-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 5px;
    padding: 4px;

    border-radius: 6px;

    line-height: 0;
}

.schedule-video-link:hover {
    background: rgba(10, 24, 1, 0.08);
}

.schedule-youtube-icon {
    display: block;

    width: 32px;
    height: auto;
}

/* ============================================================
   PREVIOUS EVENTS
   ============================================================ */

.previous-events {
    margin-top: 42px;
    padding-top: 28px;

    border-top: 1px solid rgba(203, 148, 81, 0.65);
}

.previous-events-heading {
    margin-bottom: 20px;
    text-align: center;
}

/*
 * Past cards retain the same visual structure as upcoming
 * events, but are slightly subdued.
 */

.past-event-card {
    opacity: 1;

    background: rgba(165, 168, 160, 0.94);
    border-color: rgba(203, 148, 81, 0.25);
}

.past-event-card:hover {
    opacity: 1;

    background: rgba(180, 183, 175, 0.96);
    border-color: rgba(203, 148, 81, 0.48);
}

/* Muted date block */

.past-event-card .schedule-card-date {
    background: rgba(10, 24, 1, 0.78);
}

.past-event-card .schedule-card-month,
.past-event-card .schedule-card-day,
.past-event-card .schedule-card-weekday {
    opacity: 0.72;
}


/* Muted event information */

.past-event-card .schedule-card-title {
    opacity: 0.78;
}

.past-event-card .schedule-card-venue {
    opacity: 0.65;
}

.past-event-card .schedule-card-summary {
    opacity: 0.60;
}

.past-event-card .schedule-card-time {
    opacity: 0.70;
}

.past-event-card .schedule-card-status {
    opacity: 0.58;
}

.past-event-card[hidden] {
    display: none !important;
}

.schedule-card-status.past {
    font-weight: 700;
    opacity: 0.7;
}


/*
 * Invisible marker used by JavaScript to determine when
 * another group of past events should be revealed.
 */

.previous-events-sentinel {
    width: 100%;
    height: 1px;
}


/* YouTube link on event cards */

.schedule-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 5px;
    padding: 4px;

    border-radius: 6px;

    line-height: 0;
}

.schedule-video-link:hover {
    background: rgba(10, 24, 1, 0.08);
}

.schedule-youtube-icon {
    display: block;
    width: 32px;
    height: auto;
}


/* YouTube button inside event details */

.event-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 220px;

    padding: 11px 20px;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    color: var(--yellow);
    background: transparent;

    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.event-video-button img {
    display: block;
    width: 30px;
    height: auto;
}

.event-video-button:hover {
    background: rgba(203, 148, 81, 0.12);
}


@media (max-width: 768px) {

    .previous-events {
        margin-top: 30px;
        padding-top: 22px;
    }

    .event-video-button {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

}

/* ------------------------------------------------------------
   EVENT LIST
   ------------------------------------------------------------ */

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ------------------------------------------------------------
   EVENT CARD
   ------------------------------------------------------------ */

.schedule-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 190px;
    align-items: center;
    width: 100%;
    min-height: 130px;
    padding: 0;

    overflow: hidden;

    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);

    color: var(--green);
    background: rgba(255, 255, 255, .94);
    
    font: inherit;
    text-align: left;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);

    transition:
        transform 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.schedule-card:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}

.schedule-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}


/* ------------------------------------------------------------
   DATE BLOCK
   ------------------------------------------------------------ */

.schedule-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    align-self: stretch;

    padding: 14px;

    color: var(--green);
    background: var(--yellow);

    text-align: center;
}

.schedule-card-month {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.schedule-card-day {
    margin: 1px 0;

    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.schedule-card-weekday {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
}


/* ------------------------------------------------------------
   EVENT INFORMATION
   ------------------------------------------------------------ */

.schedule-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 18px 24px;
}

.schedule-card-title {
    color: var(--green);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.schedule-card-venue {
    margin-top: 5px;

    color: var(--green);

    font-size: 1rem;
    font-style: italic;
    opacity: .88;
}

.schedule-card-summary {
    display: -webkit-box;

    margin-top: 10px;

    overflow: hidden;

    color: var(--green);

    font-size: .95rem;
    line-height: 1.4;
    opacity: .82;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ------------------------------------------------------------
   EVENT CARD META
   ------------------------------------------------------------ */

.schedule-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;

    padding: 18px 22px 18px 10px;

    text-align: right;
}

.schedule-card-time {
    font-size: 1.2rem;
    font-weight: 700;
}

.schedule-card-price {
    font-size: 1.05rem;
    font-weight: 700;
}

.schedule-card-status {
    font-size: .88rem;
    line-height: 1.25;
    opacity: .88;
}


/* ------------------------------------------------------------
   EMPTY SCHEDULE
   ------------------------------------------------------------ */

.schedule-empty {
    padding: 48px 24px;

    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);

    color: var(--yellow);
    background: rgba(10, 24, 1, .90);

    text-align: center;
}

.schedule-empty h2 {
    margin: 0 0 8px;
}

.schedule-empty p {
    margin: 0;
}


/* ============================================================
   EVENT DETAIL OVERLAY
   ============================================================ */

.event-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(0, 0, 0, .78);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.event-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ------------------------------------------------------------
   OVERLAY PANEL
   ------------------------------------------------------------ */

.event-overlay-panel {
    position: relative;

    width: min(94vw, 900px);
    max-height: min(90vh, 850px);

    overflow-y: auto;
    overflow-x: hidden;

    border: 1px solid var(--yellow);
    border-radius: 16px;

    color: var(--yellow);
    background: rgba(10, 24, 1, .98);

    box-shadow: 0 24px 70px rgba(0, 0, 0, .6);

    transform: scale(.98);

    transition: transform 180ms ease;
}

.event-overlay.open .event-overlay-panel {
    transform: scale(1);
}


/* ------------------------------------------------------------
   CLOSE BUTTON
   ------------------------------------------------------------ */

.event-overlay-close {
    position: sticky;
    top: 10px;
    z-index: 2;

    float: right;

    width: 42px;
    height: 42px;

    margin: 10px 10px -52px 0;
    padding: 0;

    border: 1px solid var(--yellow);
    border-radius: 50%;

    color: var(--yellow);
    background: var(--green);

    font-size: 1.8rem;
    line-height: 1;

    cursor: pointer;
}

.event-overlay-close:hover {
    color: var(--green);
    background: var(--yellow);
}

.event-overlay-close:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}


/* ------------------------------------------------------------
   OVERLAY CONTENT
   ------------------------------------------------------------ */

.event-overlay-content {
    padding: 32px;
}


/* ------------------------------------------------------------
   EVENT DETAIL HEADER
   ------------------------------------------------------------ */

.event-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;

    padding-right: 42px;
    padding-bottom: 22px;

    border-bottom: 1px solid rgba(203, 148, 81, .55);
}

.event-detail-heading {
    min-width: 0;
}

.event-detail-heading h2 {
    margin: 0;

    color: var(--yellow);

    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.15;
}

.event-detail-venue {
    margin-top: 8px;

    font-size: 1.05rem;
    font-style: italic;
    opacity: .88;
}

.event-detail-date-time {
    flex: 0 0 auto;

    text-align: right;
}

.event-detail-date {
    font-size: 1.05rem;
    font-weight: 700;
}

.event-detail-time {
    margin-top: 5px;

    font-size: 1.35rem;
    font-weight: 700;
}


/* ------------------------------------------------------------
   DETAIL SECTIONS
   ------------------------------------------------------------ */

.event-detail-section {
    padding: 24px 0;

    border-bottom: 1px solid rgba(203, 148, 81, .35);
}

.event-detail-section:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.event-detail-section h3 {
    margin: 0 0 14px;

    color: var(--yellow);

    font-size: 1.25rem;
}

.event-detail-text {
    font-size: 1rem;
    line-height: 1.6;
}


/* ------------------------------------------------------------
   ADMISSION INFORMATION
   ------------------------------------------------------------ */

.event-admission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.event-admission-item {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 14px;

    border: 1px solid rgba(203, 148, 81, .45);
    border-radius: 10px;

    background: rgba(0, 0, 0, .12);
}

.event-admission-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    opacity: .72;
}

.event-admission-value {
    font-size: 1.05rem;
    font-weight: 700;
}


/* ------------------------------------------------------------
   EVENT ACTION
   ------------------------------------------------------------ */

.event-detail-actions {
    margin-top: 22px;

    text-align: center;
}

.event-action-button {
    display: inline-block;

    min-width: 220px;

    padding: 12px 24px;

    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);

    color: var(--green);
    background: var(--yellow);

    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 150ms ease,
        opacity 150ms ease;
}

.event-action-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (min-width: 769px) and (max-width: 1199px) {

    .schedule-container {
        width: min(94%, 1000px);
    }

    .schedule-card {
        grid-template-columns: 100px minmax(0, 1fr) 175px;
    }

    .schedule-card-info {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* ============================================================
   PHONE
   ============================================================ */

@media (max-width: 768px) {

    .schedule-main {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: calc(var(--footer-height) + 24px);
    }

    .schedule-container {
        width: 92%;
    }

    .schedule-heading {
        margin-bottom: 18px;
    }


    /*
     * Keep one card across, but rearrange its contents
     * vertically rather than turning it into columns.
     */
    .schedule-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 0;
    }

    .schedule-card-date {
        grid-row: 1 / span 2;
        padding: 14px 10px;
    }

    .schedule-card-day {
        font-size: 2.35rem;
    }

    .schedule-card-info {
        padding: 15px 16px 8px;
    }

    .schedule-card-title {
        font-size: 1.2rem;
    }

    .schedule-card-venue {
        font-size: .9rem;
    }

    .schedule-card-summary {
        display: none;
    }

    .schedule-card-meta {
        align-items: flex-start;
        gap: 3px;

        padding: 2px 16px 15px;

        text-align: left;
    }

    .schedule-card-time {
        font-size: 1rem;
    }

    .schedule-card-price,
    .schedule-card-status {
        display: inline;
        font-size: .86rem;
    }


    /*
     * Overlay
     */
    .event-overlay {
        padding: 12px;
    }

    .event-overlay-panel {
        width: 100%;
        max-height: 92vh;
        border-radius: 12px;
    }

    .event-overlay-content {
        padding: 24px 20px;
    }

    .event-detail-header {
        display: block;

        padding-right: 40px;
        padding-bottom: 18px;
    }

    .event-detail-heading h2 {
        font-size: 1.7rem;
    }

    .event-detail-date-time {
        margin-top: 18px;

        text-align: left;
    }

    .event-detail-time {
        font-size: 1.15rem;
    }

    .event-admission-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .event-action-button {
        display: block;

        width: 100%;
        min-width: 0;

        box-sizing: border-box;
    }

}

/* ============================================================
   SCHEDULE CONTAINER VISIBILITY FIX
   ============================================================ */

/*
 * The site's older responsive system hides .desktop-container
 * on phones. Schedule uses one responsive layout at all sizes,
 * so make sure its container is always visible.
 */

.schedule-main .schedule-container {
    display: block !important;
}


/* Tablet */
@media (min-width: 769px) and (max-width: 1199px) {

    .schedule-main .schedule-container {
        display: block !important;
    }

}


/* Phone */
@media (max-width: 768px) {

    .schedule-main .schedule-container {
        display: block !important;
        width: 92%;
    }

    .schedule-main .schedule-list {
        display: flex;
        flex-direction: column;
    }

    .schedule-main .schedule-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
    }

}

/* ============================================================
   PREVIOUS EVENT COLOR OVERRIDE
   Must remain after the general Schedule card rules.
   ============================================================ */

.schedule-main .schedule-card.past-event-card {
    background: rgba(145, 150, 140, 0.94);
    border-color: rgba(203, 148, 81, 0.25);
}

.schedule-main .schedule-card.past-event-card:hover {
    background: rgba(160, 165, 155, 0.96);
    border-color: rgba(203, 148, 81, 0.48);
}

/* ============================================================
   SITE-WIDE PAGE TITLE STANDARD
   ============================================================ */

.recipe-heading,
.artists-header,
.locations-header,
.gallery-header,
.schedule-heading {
    text-align: left;
}

.recipe-heading h1,
.artists-header h1,
.locations-header h1,
.gallery-header h1,
.schedule-heading h1 {
    margin-top: 0;

    color: var(--yellow);

    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}

.schedule-heading h1 {
    font-style: normal;
}

/* Keep Schedule section headings centered */

.schedule-subtitle {
    text-align: center;
}

.previous-events-heading {
    text-align: center;
}

/* ============================================================
   EVENT REGISTRATION
   ============================================================ */

.registration-main {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(var(--footer-height) + 32px);
}

.registration-container {
    width: min(92%, 900px);
    margin: 0 auto;
}

.registration-heading {
    margin-bottom: 20px;
    text-align: left;
}

.registration-heading h1 {
    margin: 0;
    color: var(--yellow);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}


/* Event summary */

.registration-event {
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--card-radius);
    background: rgba(10, 24, 1, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.registration-event h2 {
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 1.45rem;
}

.registration-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: rgba(255, 255, 255, 0.88);
}


/* Main form panel */

.registration-panel {
    padding: 24px;
    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);
    background: rgba(247, 247, 247, 0.97);
    color: var(--green);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.registration-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

.registration-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.registration-field label {
    font-weight: 700;
}

.registration-field input,
.registration-field select {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid rgba(10, 24, 1, 0.38);
    border-radius: 7px;
    background: #fff;
    color: var(--green);
    font: inherit;
}

.registration-field input:focus,
.registration-field select:focus {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

.registration-availability {
    font-size: 0.85rem;
    opacity: 0.72;
}


/* Price */

.registration-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px 12px;
    margin-top: 24px;
    padding: 15px 0;
    border-top: 1px solid rgba(10, 24, 1, 0.18);
    border-bottom: 1px solid rgba(10, 24, 1, 0.18);
}

.registration-price-label {
    font-weight: 700;
}

.registration-total {
    margin-left: auto;
}


/* Payment methods */

.payment-methods {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
}

.payment-methods legend {
    margin-bottom: 15px;
    padding: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.payment-method-group {
    margin-top: 18px;
}

.payment-method-group h3 {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 1rem;
}

.payment-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    padding: 11px 13px;
    border: 1px solid rgba(10, 24, 1, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.payment-choice:hover {
    border-color: var(--yellow);
}

.payment-choice input {
    margin-top: 3px;
}

.payment-choice span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-choice small {
    opacity: 0.7;
}


/* Buttons */

.registration-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.registration-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);
    background: var(--green);
    color: var(--yellow);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.registration-button:hover {
    background: var(--yellow);
    color: var(--green);
}

.registration-cancel {
    color: var(--green);
    font-weight: 700;
}


/* Messages / confirmation */

.registration-message {
    text-align: center;
}

.registration-message h2,
.confirmation-panel h2 {
    margin-top: 0;
    color: var(--green);
}

.registration-message.error h2 {
    color: #7b1d1d;
}

.registration-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #9b3636;
    border-radius: 8px;
    background: #f7dddd;
    color: #641616;
    font-weight: 700;
}

.confirmation-intro {
    font-size: 1.08rem;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 9px 18px;
    margin-top: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(10, 24, 1, 0.18);
    border-bottom: 1px solid rgba(10, 24, 1, 0.18);
}

.confirmation-label {
    font-weight: 700;
}

.confirmation-note {
    margin: 20px 0 0;
}


/* ============================================================
   EVENT REGISTRATION - MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .registration-main {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: calc(var(--footer-height) + 24px);
    }

    .registration-container {
        width: 92%;
    }

    .registration-panel {
        padding: 18px 16px;
    }

    .registration-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .registration-price {
        align-items: flex-start;
        flex-direction: column;
    }

    .registration-total {
        margin-left: 0;
    }

    .registration-actions {
        flex-direction: column;
    }

    .registration-button,
    .registration-cancel {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .confirmation-grid {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .confirmation-value {
        margin-bottom: 9px;
    }
}

/* ============================================================
   EVENT PAYMENT
   ============================================================ */

.payment-main {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(var(--footer-height) + 32px);
}

.payment-container {
    width: min(92%, 760px);
    margin: 0 auto;
}

.payment-heading {
    margin-bottom: 20px;
    text-align: left;
}

.payment-heading h1 {
    margin: 0;
    color: var(--yellow);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}


/* Event header */

.payment-event {
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--card-radius);
    background: rgba(10, 24, 1, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.payment-event h2 {
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 1.45rem;
}

.payment-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: rgba(255, 255, 255, 0.88);
}


/* Main payment card */

.payment-panel {
    padding: 24px;
    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);
    background: rgba(247, 247, 247, 0.97);
    color: var(--green);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}


/* Reservation summary */

.payment-summary {
    margin-bottom: 24px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
}

.payment-summary-row.total {
    margin-top: 5px;
    padding-top: 14px;
    border-top: 1px solid rgba(10, 24, 1, 0.2);
    font-size: 1.12rem;
}


/* Payment method */

.payment-method-panel {
    padding-top: 4px;
    text-align: center;
}

.payment-method-panel h2,
.payment-message h2 {
    margin-top: 0;
    color: var(--green);
}

.payment-method-panel p,
.payment-message p {
    line-height: 1.55;
}

.paypal-form {
    margin-top: 22px;
}

.venmo-account {
    display: inline-block;
    margin: 10px 0 16px;
    padding: 12px 20px;
    border: 1px solid rgba(10, 24, 1, 0.25);
    border-radius: 8px;
    background: #fff;
    color: var(--green);
    font-size: 1.35rem;
    font-weight: 700;
}

.payment-note {
    margin: 8px auto 0;
    max-width: 540px;
    font-size: 0.93rem;
}

.payment-message {
    text-align: center;
}

.payment-message.error h2 {
    color: #7b1d1d;
}


/* Buttons */

.payment-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.payment-button,
.payment-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 22px;
    border-radius: var(--button-radius);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.payment-button {
    border: 1px solid var(--yellow);
    background: var(--green);
    color: var(--yellow);
}

.payment-button:hover {
    background: var(--yellow);
    color: var(--green);
}

.payment-secondary-button {
    border: 1px solid rgba(10, 24, 1, 0.4);
    background: transparent;
    color: var(--green);
}

.payment-secondary-button:hover {
    border-color: var(--green);
    background: rgba(10, 24, 1, 0.07);
}


/* ============================================================
   EVENT PAYMENT - MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .payment-main {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: calc(var(--footer-height) + 24px);
    }

    .payment-container {
        width: 92%;
    }

    .payment-panel {
        padding: 18px 16px;
    }

    .payment-summary-row {
        gap: 12px;
    }

    .payment-button,
    .payment-secondary-button {
        width: 100%;
    }

    .paypal-total {
        max-width: 380px;
        margin: 20px auto;
        padding: 14px 18px;
        border: 1px solid rgba(10, 24, 1, 0.2);
        border-radius: 8px;
        background: #fff;
    }

    .paypal-total > div {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 5px 0;
    }

    .paypal-total-final {
        margin-top: 6px;
        padding-top: 10px !important;
        border-top: 1px solid rgba(10, 24, 1, 0.25);
        font-size: 1.08rem;
    }

}

/* ============================================================
   CONTACT US
   ============================================================ */

.contact-main {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(var(--footer-height) + 32px);
}

.contact-container {
    width: min(92%, 760px);
    margin: 0 auto;
}

.contact-heading {
    margin-bottom: 20px;
    text-align: left;
}

.contact-heading h1 {
    margin: 0;
    color: var(--yellow);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}


/* Main card */

.contact-panel {
    padding: 28px;
    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);
    background: rgba(247, 247, 247, 0.97);
    color: var(--green);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}


/* Contact information */

.contact-info {
    width: min(100%, 520px);
    margin: 0 auto;
}

.contact-info-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.contact-info-label {
    font-weight: 700;
    text-align: right;
}

.contact-info-row a {
    color: var(--green);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-info-row a:hover {
    color: #6f4b1e;
}


/* Divider */

.contact-divider {
    width: min(100%, 560px);
    height: 1px;
    margin: 28px auto;
    background: rgba(10, 24, 1, 0.18);
}


/* Notification list */

.notification-section {
    width: min(100%, 560px);
    margin: 0 auto;
}

.notification-section h2 {
    margin: 0 0 8px;
    color: var(--green);
    text-align: center;
    font-size: 1.55rem;
}

.notification-intro {
    margin: 0 0 22px;
    text-align: center;
    line-height: 1.5;
}

.notification-fields {
    display: grid;
    gap: 16px;
}

.notification-field {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.notification-field label {
    font-weight: 700;
    text-align: right;
}

.notification-field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(10, 24, 1, 0.35);
    border-radius: 7px;
    background: #fff;
    color: var(--green);
    font: inherit;
}

.notification-field input:focus {
    outline: 2px solid rgba(203, 148, 81, 0.55);
    outline-offset: 1px;
    border-color: var(--yellow);
}


/* Messages */

.contact-message {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.45;
}

.contact-success {
    border: 1px solid rgba(10, 90, 25, 0.35);
    background: rgba(10, 90, 25, 0.09);
}

.contact-error {
    border: 1px solid rgba(125, 20, 20, 0.35);
    background: rgba(125, 20, 20, 0.08);
    color: #721c1c;
}


/* Buttons */

.notification-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.notification-button {
    min-width: 150px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--button-radius);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.notification-subscribe {
    border: 1px solid var(--yellow);
    background: var(--green);
    color: var(--yellow);
}

.notification-subscribe:hover {
    background: var(--yellow);
    color: var(--green);
}

.notification-unsubscribe {
    border: 1px solid #777;
    background: #e6e6e6;
    color: #444;
}

.notification-unsubscribe:hover {
    border-color: #555;
    background: #d8d8d8;
    color: #222;
}

.contact-info h2 {
    margin: 0 0 8px;
    color: var(--green);
    text-align: center;
    font-size: 1.55rem;
}

.contact-info-intro {
    margin: 0 0 16px;
    text-align: center;
    line-height: 1.5;
}


/* ============================================================
   CONTACT US - MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .contact-main {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: calc(var(--footer-height) + 24px);
    }

    .contact-container {
        width: 92%;
    }

    .contact-panel {
        padding: 22px 16px;
    }

    .contact-info-row,
    .notification-field {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact-info-label {
        text-align: center;
    }

    .contact-info-row {
        text-align: center;
    }

    .notification-field label {
        text-align: left;
    }
    
    .notification-actions {
        flex-direction: column;
    }

    .notification-button {
        width: 100%;
    }

}

/* ============================================================
   MERCH
   ============================================================ */

.merch-main {
    padding-top: calc(var(--header-height) + 22px);
    padding-bottom: calc(var(--footer-height) + 24px);
}

.merch-container {
    width: min(94%, 1200px);
    margin: 0 auto;
}

.merch-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.merch-heading-text {
    min-width: 0;
}

.merch-heading h1 {
    margin: 0;
    color: var(--yellow);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}

.merch-heading p {
    margin: 8px 0 0;
}

.merch-cart-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);
    background: var(--yellow);
    color: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.merch-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--green);
    color: var(--yellow);
}


/* Cards */

.merch-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.merch-card {
    min-height: 145px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(203, 148, 81, 0.7);
    border-radius: var(--card-radius);
    background: rgba(247, 247, 247, 0.97);
    color: var(--green);
    cursor: pointer;
    box-sizing: border-box;
}

.merch-card:hover,
.merch-card:focus-visible {
    border-color: var(--yellow);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

.merch-card.merch-page-hidden {
    display: none !important;
}

.merch-card-image {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.merch-card-content {
    min-width: 0;
}

.merch-card-name {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 1.15rem;
    line-height: 1.2;
}

.merch-card-price {
    color: #6f4b1e;
    font-size: 1.05rem;
    font-weight: 700;
}


/* Pagination */

.merch-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.merch-page-nav {
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);
    background: var(--yellow);
    color: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.merch-page-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.merch-page-status {
    white-space: nowrap;
}

/* Messages */

.merch-message {
    margin: 0 auto 16px;
    padding: 11px 14px;
    border-radius: 8px;
    text-align: center;
}

.merch-success {
    background: rgba(225, 245, 225, 0.96);
    color: #174b20;
}

.merch-error {
    background: rgba(250, 225, 225, 0.97);
    color: #721c1c;
}


/* ============================================================
   MERCH OVERLAYS
   ============================================================ */

.merch-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.72);
}

.merch-overlay.open {
    display: flex;
}

.merch-overlay-panel {
    position: relative;
    width: min(94vw, 900px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid var(--yellow);
    border-radius: var(--card-radius);
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.merch-overlay-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--yellow);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.merch-detail-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: start;
}

.merch-detail-image {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.merch-detail-info h2,
.merch-cart-panel h2 {
    margin: 0 38px 10px 0;
    color: var(--yellow);
    font-size: 1.7rem;
}

.merch-detail-price {
    margin-bottom: 18px;
    color: var(--yellow);
    font-size: 1.3rem;
    font-weight: 700;
}

.merch-detail-description {
    margin-bottom: 16px;
    line-height: 1.55;
}

.merch-logo-type,
.merch-vendor {
    line-height: 1.45;
}

.merch-vendor a {
    color: var(--yellow);
}


/* Product choices */

.merch-add-form {
    margin-top: 24px;
}

.merch-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.merch-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.merch-option label {
    color: var(--yellow);
    font-weight: 700;
}

.merch-option select {
    width: 100%;
    height: 42px;
    padding: 0 9px;
    border: 1px solid var(--yellow);
    border-radius: 7px;
    background: #fff;
    color: var(--green);
    font: inherit;
}

.merch-add-button {
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    border: 1px solid var(--yellow);
    border-radius: var(--button-radius);
    background: var(--yellow);
    color: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}


/* ============================================================
   CART
   ============================================================ */

.merch-cart-panel {
    width: min(94vw, 780px);
}

.merch-cart-items {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.merch-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(203, 148, 81, 0.45);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
}

.merch-cart-item-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.merch-cart-item-main strong {
    color: var(--yellow);
}

.merch-cart-item-price {
    font-weight: 700;
}

.merch-remove-form button {
    border: 1px solid #aaa;
    border-radius: 7px;
    background: #e6e6e6;
    color: #333;
    padding: 7px 10px;
    cursor: pointer;
}

.merch-cart-total {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--yellow);
    color: var(--yellow);
    font-size: 1.2rem;
}

.merch-pickup-note {
    margin: 20px 0;
    text-align: center;
    line-height: 1.45;
}

.merch-cart-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.merch-continue-button,
.merch-checkout-button {
    min-width: 165px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 9px 18px;
    border-radius: var(--button-radius);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.merch-continue-button {
    border: 1px solid #aaa;
    background: #e6e6e6;
    color: #333;
}

.merch-checkout-button {
    border: 1px solid var(--yellow);
    background: var(--yellow);
    color: var(--green);
}

/* ============================================================
   MERCH CHECKOUT
   ============================================================ */

.merch-checkout-panel {
    margin-top: 20px;
}

.merch-checkout-panel[hidden] {
    display: none !important;
}

.merch-cart-actions[hidden] {
    display: none !important;
}

.merch-checkout-panel h3 {
    margin: 0 0 18px;

    color: var(--yellow);

    font-size: 1.45rem;
    text-align: center;
}

.merch-checkout-form {
    width: min(100%, 560px);

    margin: 0 auto;
}

.merch-checkout-field {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-bottom: 15px;
}

.merch-checkout-field label {
    color: var(--yellow);

    font-weight: 700;
}

.merch-checkout-field input,
.merch-checkout-field select {
    width: 100%;
    min-height: 44px;

    box-sizing: border-box;

    padding: 9px 11px;

    border: 1px solid var(--yellow);
    border-radius: 7px;

    background: #fff;
    color: var(--green);

    font: inherit;
}

.merch-checkout-field input:focus,
.merch-checkout-field select:focus {
    outline: 3px solid rgba(203, 148, 81, 0.35);
    outline-offset: 1px;
}

.merch-payment-note {
    margin: 18px 0;

    color: #fff;

    line-height: 1.45;
    text-align: center;
}

.merch-checkout-form-actions {
    display: flex;
    justify-content: center;

    gap: 12px;

    margin-top: 20px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (min-width: 769px) and (max-width: 1199px) {

    .merch-container {
        width: min(94%, 900px);
    }

    .merch-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   PHONE
   ============================================================ */

@media (max-width: 768px) {

    .merch-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .merch-heading {
        align-items: center;
        display: block;
    }

    .merch-heading h1 {
        font-size: 1.6rem;
    }

    .merch-heading p {
        font-size: 0.85rem;
    }

     .merch-pagination {
        display: none !important;
    }

    .merch-cart-button {
        padding: 7px 10px;
    }

    .merch-mobile-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .merch-card {
        min-height: 100px;
        padding: 7px;
        gap: 10px;
        border-radius: 10px;
    }

    .merch-card-image {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }

    .merch-card-name {
        font-size: 1rem;
    }

    .merch-card-price {
        font-size: 0.9rem;
    }

    .merch-overlay {
        padding: 10px;
    }

    .merch-overlay-panel {
        width: 100%;
        max-height: calc(100vh - 20px);
        padding: 28px 16px 20px;
    }

    .merch-detail-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .merch-detail-image {
        max-height: 280px;
    }

    .merch-option-grid {
        grid-template-columns: 1fr 1fr;
    }

    .merch-cart-item {
        grid-template-columns: 1fr auto;
    }

    .merch-remove-form {
        grid-column: 1 / -1;
    }

    .merch-remove-form button {
        width: 100%;
    }

    .merch-cart-actions {
        flex-direction: column;
    }

    .merch-continue-button,
    .merch-checkout-button {
        width: 100%;
    }

    .merch-checkout-form-actions {
        flex-direction: column;
    }

    .merch-checkout-form-actions
    .merch-continue-button,
    .merch-checkout-form-actions
    .merch-checkout-button {
        width: 100%;
    }

}
/* =========================================================
   MERCH LOGO PREVIEW
   ========================================================= */

.merch-logo-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
}

.merch-logo-label {
    font-weight: 700;
}

.merch-logo-image {
    display: block;
    width: auto;
    max-width: 100px;
    max-height: 65px;
    object-fit: contain;
}

/* =========================================================
   HEADER CART
   ========================================================= */

.header-cart-button {
    position: relative;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px;

    border: 1px solid rgba(203, 148, 81, 0.55);
    border-radius: var(--button-radius);

    color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition);
}

.header-cart-button:hover {
    color: var(--green);
    background: var(--yellow);
}
.header-cart-button svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-cart-count {
    position: absolute;
    top: 0;
    right: -2px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 9px;

    background: var(--yellow);
    color: var(--green);

    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 1200px) {

    .header-inner {
        position: relative;
    }

    .desktop-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}
