body {
    position: relative;
}

.grampus-cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: fit-content;
    padding: 10px 0;
    z-index: 2000;
    background-color: var(--cookie-bg, #fff);
}

.cookie-notice-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.grampus-cookie-notice p {
    font-family: var(--cookie-font-family), 'serif';
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: var(--cookie-text-color, #000);
}
.grampus-cookie-notice p a{
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: underline;
}

.grampus-cookie-accept-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cookie-text-color, #262e39);
    background-color: #262e39;
    border-radius: 3px;
    padding: 6px 20px;
    transition: all 0.5s;
    cursor: pointer;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--cookie-btn-text, #fff);
}

.grampus-cookie-accept-button:hover {
    background-color: var(--cookie-btn-text, #fff);
    color: var(--cookie-text-color, #262e39);
    border-color: var(--cookie-text-color, #262e39);
}

@media (max-width: 1000px) {
    .grampus-cookie-notice p {
        font-size: 14px;
    }
}

@media (max-width: 700px) {
    .cookie-notice-container {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-notice-container p {
        font-size: 12px;
        text-align: center;
    }

    .grampus-cookie-accept-button {
        align-items: center;
        padding: 4px 30px;
        font-size: 14px;
    }
}
.grampus-cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 15px 0;
    position: relative;
}

.cookie-notice-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 40px; /* Место под крестик */
}

/* Кнопка-крестик - позиционируем относительно всего блока куков */
.grampus-cookie-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
}

.grampus-cookie-close:hover {
    color: #000;
}

.grampus-cookie-close svg {
    width: 20px;
    height: 20px;
}

.cookie-notice-text {
    flex: 1;
}

.grampus-cookie-accept-button {
    flex-shrink: 0;
    padding: 8px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .cookie-notice-container {
        flex-wrap: wrap;
        padding-right: 35px;
    }
    
    .cookie-notice-text {
        flex: 1 1 100%;
        order: 1;
        padding-right: 20px;
    }
    
    .grampus-cookie-accept-button {
        order: 2;
        margin-top: 10px;
    }
    
    .grampus-cookie-close {
        top: 8px;
        right: 10px;
    }
}