/**
 * OTOEKO Ecommerce Footer — Desktop-Only Rules
 * Rules that apply ONLY on desktop (originally prefixed with body:not(.ecommerce-mobile)).
 * Split from: frontend/footer.css
 * Responsive tablet rules appended from: frontend/responsive-tablet.css (Section 4)
 */

/* Design tokens: variables.css (header.php'de ilk yüklenir) */

/* ========================================
   FOOTER - Premium Light Theme (Desktop)
   ======================================== */
body .site-footer {
    margin-top: 0;
    width: 100%;
}

/* Footer Banner — alttaki gereksiz boşluk azaltıldı */
body .footer-banner {
    margin-bottom: 12px;
}

/* Footer Main — üst boşluk azaltıldı (sepet/icerik ile footer arası) */
body .footer-main {
    background: #ffffff;
    padding: var(--space-2, 0.5rem) 0 var(--space-2, 0.5rem) 0;
}


/* Footer Brand */
body .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    padding-top: 30px;
}

body .footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 0;
}

body .footer-tagline {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.5;
}

body .footer-tagline-en {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.5;
}

body .footer-social {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body .footer-social > span {
    font-size: 13px;
    font-weight: 800;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .footer-social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

body .footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all var(--transition-base);
    text-decoration: none;
}

body .footer-social-icons a:nth-child(1) {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

body .footer-social-icons a:nth-child(2) {
    background: #1DA1F2;
    color: #fff;
}

body .footer-social-icons a:nth-child(3) {
    background: #FF0000;
    color: #fff;
}

body .footer-social-icons a:nth-child(4) {
    background: #0088cc;
    color: #fff;
}

/* Footer Columns */
body .footer-brand {
    padding-top: 30px;
    padding-bottom: 20px;
}

/* Footer Support */
body .footer-support {
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body .footer-support h4 {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

body .support-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

body .support-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1.5px solid #fed7aa;
    transition: all var(--transition-slow);
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

body .support-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 20px;
    transition: transform var(--transition-slow);
}

body .support-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
}

body .support-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body .support-text {
    font-size: 14px;
    font-weight: 700;
    color: #25D366;
    line-height: 1.3;
    transition: color var(--transition-base);
}

body .support-phone-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    transition: color var(--transition-base);
}

body .support-arrow {
    width: 18px;
    height: 18px;
    color: #d1d5db;
    flex-shrink: 0;
    transition: all var(--transition-slow);
}

body .support-divider {
    display: flex;
    align-items: center;
    margin: 4px 0;
    position: relative;
}

/* Footer Bottom Box (Payment + Copyright) */
body .footer-bottom-box {
    background: linear-gradient(135deg, #fef3e2 0%, #fef9f3 100%);
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-8);
    margin-top: 4px;
    margin-bottom: 4px;
}

body .footer-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}


body .trust-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

body .trust-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
}

body .trust-label i {
    color: var(--color-primary);
    font-size: 18px;
}

body .trust-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

body .trust-logo {
    width: 72px;
    height: 46px;
    object-fit: contain;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
}

body .trust-logo.cargo-logo {
    width: 62px;
    height: 46px;
}

body .trust-logo.ssl-logo {
    width: 100px;
    height: 46px;
}

body .trust-logo.cloudflare-logo {
    width: 90px;
    height: 46px;
}

/* Divider */
body .footer-box-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 146, 60, 0.3), transparent);
    margin: var(--space-2) 0;
}

/* Copyright */
body .footer-copyright p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.3px;
    line-height: 1.5;
}


/* ========================================
   SCROLL TO TOP (Desktop)
   ======================================== */
body .scroll-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: var(--color-white);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}


/* ========================================
   FOOTER — Responsive Tablet Overrides
   Kaynak: frontend/responsive-tablet.css Section 4
   ======================================== */

/* Kaynak: footer.css:53-69 */
@media (min-width: 768px) {
    body .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    body .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        column-gap: 2%;
    }

    body .footer-grid > * {
        min-width: 0;
    }

    /* Kaynak: footer.css:447-451 */
    body .footer-trust-bar {
        justify-content: space-between;
    }
}
