html {
    height: 100%;
}

body.page-sticky-footer {
    margin: 0;
    min-height: 100vh;
}

.page-sticky-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-sticky-shell > header {
    flex-shrink: 0;
}

.page-sticky-shell .page-main-grow {
    flex: 1 0 auto;
}

#kvkk-doc-modal {
    display: none !important;
}

#kvkk-doc-modal.is-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 200000 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
}

.kvkk-doc-modal-panel {
    position: relative !important;
    width: 92% !important;
    max-width: 960px !important;
    height: 86vh !important;
    max-height: 900px !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: auto;
}

.kvkk-doc-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.kvkk-doc-modal-close:hover {
    background: #eee;
}

#kvkk-doc-modal-frame {
    flex: 1;
    width: 100%;
    border: 0;
    min-height: 0;
    margin-top: 0;
}

.cookie-consent-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    z-index: 100040;
    max-width: 440px;
    width: calc(100% - 32px);
    background: #ececec;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    padding: 0;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-consent-card *,
.cookie-consent-card *::before,
.cookie-consent-card *::after {
    box-sizing: border-box;
}

.cookie-consent-card.cookie-consent-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-consent-inner {
    padding: 28px 26px 22px;
    text-align: center;
}

.cookie-consent-icon {
    margin-bottom: 18px;
}

.cookie-consent-icon svg {
    display: block;
    margin: 0 auto;
}

.cookie-consent-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5a5a5a;
}

.cookie-consent-text a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-readmore {
    display: block;
    width: 100%;
    margin: 18px 0 16px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #e0e0e0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}

.cookie-readmore:hover {
    background: #d4d4d4;
    color: #000;
}

.cookie-accept-all {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 6px;
    background: #1a7fe0;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}

.cookie-accept-all:hover {
    background: #156cc4;
    color: #fff;
}

footer.site-footer-legal {
    padding: 28px 0 56px;
    background: #5D544D;
    color: #fff;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: relative;
    clear: both;
    flex-shrink: 0;
    z-index: 1;
}

footer.site-footer-legal .to-top {
    z-index: 2;
}

.footer-legal-wrap {
    max-width: 1100px;
}

.footer-legal-nav {
    text-align: left;
    font-size: 13px;
    line-height: 1.75;
}

.footer-legal-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-legal-nav a:hover {
    text-decoration: underline;
}

.footer-legal-nav .footer-sep {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
}

.footer-legal-copy {
    text-align: left;
    margin: 16px 0 0;
    font-size: 13px;
    color: #fff;
}

.footer-legal-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-design-credit {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.footer-design-credit a {
    color: #fff;
    text-decoration: none;
}

.footer-design-credit a:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-social-icons .footer-soc {
    display: inline-block;
    color: #C0D667 !important;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    padding: 4px 8px;
}

.footer-social-icons .footer-soc:hover {
    color: #dce99a !important;
}

@media (max-width: 767px) {
    .footer-legal-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}
