/* ==========================================================================
   Homemade Iced Coffee — Cookie consent banner
   Shared across every page. Self-contained styles.
   ========================================================================== */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: #2b1d16;
    color: #f3e9df;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    border-top: 3px solid #c07a3e;
    padding: 20px 16px;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    transform: translateY(110%);
    transition: transform 0.35s ease;
}
.cookie-consent.is-visible { transform: translateY(0); }

.cookie-consent__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
}
.cookie-consent__text { flex: 1 1 420px; margin: 0; }
.cookie-consent__text strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
}
.cookie-consent__text a { color: #e6a86b; text-decoration: underline; }
.cookie-consent__text a:hover { color: #ffffff; }

.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.cookie-btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.875rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cookie-btn--accept { background: #c07a3e; color: #ffffff; }
.cookie-btn--accept:hover { background: #a5652f; }
.cookie-btn--decline { background: transparent; color: #f3e9df; border-color: rgba(243, 233, 223, 0.4); }
.cookie-btn--decline:hover { border-color: #ffffff; color: #ffffff; }

.cookie-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #2b1d16;
    color: #e6a86b;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
}
.cookie-reopen.is-visible { display: flex; }
.cookie-reopen:hover { background: #3a2820; color: #ffffff; }

@media (max-width: 575.98px) {
    .cookie-consent__actions { width: 100%; }
    .cookie-btn { flex: 1 1 auto; text-align: center; }
}
