.dogsan-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--announcement-h);
    z-index: 10000;
    background: #2A3A9A;
    color: #ffffff;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.dogsan-announcement-bar.show {
    transform: translateY(0);
}
.announcement-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 40px; 
}
.announcement-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    font-family: 'Instrument Sans', sans-serif !important;
    letter-spacing: 0.01em;
    opacity: 0.95;
}
.announcement-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.announcement-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 12px;
    background: #ffffff;
    color: #2A3A9A;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    font-family: 'Instrument Sans', sans-serif !important;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0.02em;
}
.announcement-button:hover {
    background: #eef2ff;
    color: #2A3A9A;
    border-color: #ffffff;
}
body .site-header {
    transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease !important;
}
.announcement-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s ease;
}
.announcement-close-icon:hover {
    color: #ffffff;
}
.announcement-close-icon svg {
    width: 14px;
    height: 14px;
}
body.has-announcement-bar .site-header {
    top: var(--announcement-h) !important;
}
@media (max-width: 768px) {
    .dogsan-announcement-bar {
        display: block !important;
        height: auto !important;
        min-height: 44px;
    }
    body.has-announcement-bar .site-header {
        top: var(--announcement-h) !important;
    }
    .announcement-bar-content {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        min-height: 44px;
    }
    .announcement-text {
        font-size: 12px;
        line-height: 16px;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .announcement-actions {
        gap: 8px;
    }
    .announcement-button {
        min-height: 28px;
        padding: 0 10px;
        font-size: 10px;
        line-height: 12px;
        white-space: nowrap;
    }
    .announcement-close-icon {
        width: 28px;
        height: 28px;
        color: rgba(255, 255, 255, 0.88);
    }
}
@media (max-width: 480px) {
    .announcement-bar-content {
        grid-template-columns: 1fr auto;
        gap: 6px;
        padding: 8px 10px;
    }
    .announcement-text {
        font-size: 11px;
        line-height: 15px;
    }
    .announcement-button {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}
.dogsan-announcement-bar.animating-in {
    animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.dogsan-announcement-bar.animating-out {
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
