/* Cookie consent banner, see template/page/html/cookienotice.phtml
   (ID selectors needed to override the theme rules for #notice-cookie-block in common.css) */

#notice-cookie-block.sickdeal-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    border-top: 3px solid #00375c;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
    color: #444444;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px 18px 70px;
    background: none;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-text {
    flex: 1 1 420px;
    padding: 0;
    background: none;
    float: none;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-text p {
    margin: 0 0 6px;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-text p:last-child {
    margin-bottom: 0;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-text a {
    color: #006080;
    text-decoration: underline;
}
#notice-cookie-block.sickdeal-cookie-consent .notice-text p.sickdeal-cookie-links {
    margin-top: 6px;
    font-size: 13px;
}
#notice-cookie-block.sickdeal-cookie-consent .sickdeal-cookie-links span {
    margin: 0 6px;
    color: #999999;
}
#notice-cookie-block.sickdeal-cookie-consent .actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    padding: 0;
    float: none;
}

/* Both choices deliberately look the same, styled like the theme's "In den Warenkorb" button */
.sickdeal-cookie-btn {
    min-width: 130px;
    height: 45px;
    margin: 0;
    padding: 0 25px;
    border: 0;
    border-radius: 3px;
    background-color: #eeeeee;
    color: #555555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 45px;
    cursor: pointer;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.sickdeal-cookie-btn:hover,
.sickdeal-cookie-btn:focus {
    background-color: #333333;
    color: #ffffff;
    outline: none;
}
.sickdeal-cookie-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.35);
}

/* Small tab to reopen the banner */
.sickdeal-cookie-tab {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #00375c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sickdeal-cookie-tab:hover,
.sickdeal-cookie-tab:focus {
    background: #333333;
    outline: none;
}

@media only screen and (max-width: 767px) {
    #notice-cookie-block.sickdeal-cookie-consent .notice-inner {
        padding: 16px;
    }
    #notice-cookie-block.sickdeal-cookie-consent .actions {
        width: 100%;
    }
    .sickdeal-cookie-btn {
        flex: 1 1 0;
        min-width: 0;
    }
    .sickdeal-cookie-tab {
        width: 38px;
        height: 38px;
        left: 10px;
        bottom: 10px;
    }
}
