/* PupAsana — Announcement Bar */

#pys-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: stretch;
}

.pys-ann-swiper {
    flex: 1;
    min-width: 0;
}

.pys-ann-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 100px;
    min-height: 46px;
    text-align: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.pys-ann-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.pys-ann-cta {
    display: inline-block;
    padding: 4px 14px;
    border: 1.5px solid currentColor;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}

.pys-ann-cta:hover {
    background: rgba(255, 255, 255, .2);
    text-decoration: none;
}

/* Prev / Next arrows */
.pys-ann-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 14px;
    opacity: .65;
    transition: opacity .15s;
}

.pys-ann-nav:hover { opacity: 1; }

#pys-ann-prev { left: 0; }
#pys-ann-next { right: 42px; }

/* Close button */
.pys-ann-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .15);
    border: none;
    color: inherit;
    font-size: 14px;
    cursor: pointer;
    opacity: .75;
    transition: opacity .15s, background .15s;
    flex-shrink: 0;
    z-index: 10;
}

.pys-ann-close-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, .25);
}

/* Push page content below the bar — JS updates this dynamically */
body.pys-ann-visible {
    margin-top: 46px;
}

/* WordPress admin bar adjustment */
.admin-bar #pys-announcement-bar {
    top: 32px;
}
#pys-ann-next, #pys-ann-prev {
    margin: 0px !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0px !important;
}
.pys-ann-close-btn {
    margin: 0px !important;
    width: 30px !important;
    padding: 10px 10px 10px 15px !important;
    min-width: 40px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar #pys-announcement-bar { top: 46px; }
    .pys-ann-slide { padding: 10px 54px 10px 14px; }
    #pys-ann-prev  { display: none; }
    #pys-ann-next  { right: 42px; display: none; }
}

@media screen and (max-width: 480px) {
    .pys-ann-text { font-size: 13px; }
    .pys-ann-cta  { font-size: 11px; padding: 3px 10px; }
}
