/* Oye Handbags - Emerald Silk Announcement Bar V3
 * Image: ../images/oye-emerald-silk.webp (no embedded text or links).
 * Loaded last by functions.php at priority 10050.
 * Keeps existing .oye-market-button functional and preserves header.php.
 */
.oye-announcement {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    color: #f0d79d;
    background-color: #003321;
    background-image:
        linear-gradient(90deg,
            rgba(0, 21, 15, .36) 0%,
            rgba(0, 26, 18, .19) 34%,
            rgba(0, 24, 18, .33) 65%,
            rgba(0, 23, 17, .49) 100%),
        url('../images/oye-emerald-silk.webp');
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, 100% 100%;
    border-top: 2px solid #d5ae61;
    border-bottom: 2px solid #d5ae61;
    box-shadow:
        inset 0 1px 0 rgba(255, 238, 192, .4),
        inset 0 -1px 0 rgba(255, 238, 192, .35);
}

/* Remove earlier CSS-generated folds. The separate image now supplies them. */
.oye-announcement::before,
.oye-announcement::after {
    content: none !important;
    display: none !important;
}

/* Left announcement / right market control on desktop */
.oye-announcement .oye-announcement__inner {
    box-sizing: border-box;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 18px;
    min-height: 46px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.oye-announcement .oye-announcement__inner::before,
.oye-announcement .oye-announcement__inner::after {
    content: none !important;
    display: none !important;
}
.oye-announcement .oye-announcement__inner > p {
    display: block;
    flex: 0 1 auto;
    grid-column: auto;
    max-width: 75%;
    margin: 0;
    padding: 0;
    color: #f1d69a;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(11px, .88vw, 14px);
    font-weight: 500;
    letter-spacing: .095em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.oye-announcement .oye-announcement__inner > p::before,
.oye-announcement .oye-announcement__inner > p::after {
    content: none !important;
    display: none !important;
}
.oye-announcement .oye-market-button {
    grid-column: auto;
    justify-self: auto;
    margin: 0 0 0 auto;
    flex: 0 0 auto;
    max-width: 100%;
    color: #f1d69a;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.oye-announcement .oye-market-button:hover {
    color: #fff2c9;
}
.oye-announcement .oye-market-button:focus-visible {
    outline: 2px solid #f2d493;
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .oye-announcement {
        background-size: 100% 100%, cover;
    }
    .oye-announcement .oye-announcement__inner {
        flex-wrap: wrap;
        gap: 6px 14px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
    .oye-announcement .oye-announcement__inner > p {
        max-width: 100%;
        font-size: 11px;
        white-space: normal;
    }
    .oye-announcement .oye-market-button { font-size: 10px; }
}
@media (max-width: 620px) {
    .oye-announcement .oye-announcement__inner {
        flex-direction: column;
        justify-content: center !important;
        gap: 4px;
    }
    .oye-announcement .oye-announcement__inner > p {
        max-width: 100%;
        text-align: center;
        font-size: 10px;
        letter-spacing: .065em;
    }
    .oye-announcement .oye-market-button {
        margin-left: 0;
        justify-content: center;
        font-size: 10px;
    }
}
