#notik-bar {
    width: 100%;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-sizing: border-box;
    font-family: inherit;
    direction: rtl;
    unicode-bidi: embed;
    margin: 0;
    padding: 0;
    transition: all 0.2s ease;
}

.notik-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.notik-message {
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
}

.notik-btn {
    background-color: #fff;
    color: #f39c12;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.notik-btn:hover {
    background-color: #f8f8f8;
}

.notik-btn.no-link {
    cursor: default;
    pointer-events: none;
}

.notik-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

.notik-message .notik-icon {
    width: 1.4em;
    height: 1.4em;
}

.notik-btn .notik-icon {
    width: 1em;
    height: 1em;
    margin: 0 3px;
}

#notik-bar.notik-position-top.notik-sticky {
    position: sticky;
    top: 0;
}

#notik-bar.notik-position-top.notik-relative {
    position: relative;
    top: 0;
}

#notik-bar.notik-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

#notik-bar.notik-position-top.notik-sticky {
    position: sticky;
    top: 0;
}

#notik-bar.notik-position-top.notik-relative {
    position: relative;
}

.notik-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
    unicode-bidi: unset;
    position: absolute;
    left: 5%;
}

.notik-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notik-countdown-number {
    font-size: 16px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    background: #333;
    color: #fff;
    min-width: 24px;
    text-align: center;
}

.notik-countdown-label {
    font-size: 10px;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.8;
}

.notik-timer-expired {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
}


.notik-timer-expired {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
}

#notik-bar .notik-close {
    position: absolute;
    right: 15px; /* در سمت راست نوار */
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: inherit; /* رنگ متن را به ارث می‌برد */
    font-size: 26px;
    line-height: 1;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    font-weight: 300;
}

#notik-bar .notik-close:hover {
    opacity: 1;
}


@media (max-width: 768px) {

    #notik-bar.notik-hide-mobile {
        display: none !important;
    }

    .notik-countdown {
        margin-top: 8px;
        gap: 6px;
    }

    .notik-countdown-number {
        font-size: 15px;
        padding: 2px 5px;
    }

    .notik-countdown-label {
        font-size: 9px;
    }

    .notik-inner {
        flex-direction: column;
        padding: 10px 15px;
        text-align: center;
    }

    .notik-countdown {
        position: relative;
        left: 0;
    }

}