/*
Theme Name: SkeittiX Child
Template: hello-elementor
Description: SkeittiX - Sähkölongboardien erikoisliike
Version: 1.0
*/

/* Sticky Footer – Grid Layout */
html, body {
    height: 100%;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0;
}

#content {
    grid-row: 2;
}

.skeittix-footer,
#site-footer {
    grid-row: 3;
}

:root {
    --sx-primary: #007bff;

    --sx-dark: #121212;   
    --sx-gray: #1e1e1e;  
    --sx-text: #e0e0e0;   
    --sx-bg: #121212;        
    --sx-accent: #007bff;      
    --sx-accent-light: #00f2ff; 
    --sx-text-main: #ffffff;  
    --sx-text-dim: #a0a0a0;   
    --sx-border: #222222;  
}

/* =============================================
   TOIMITUSAIKABANNERI (Modernisoitu)
   ============================================= */

.kh-delivery-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--sx-gray);
    border: 1px solid #333;
    border-left: 4px solid var(--sx-primary);
    border-radius: 4px;
    padding: 0.7rem 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--sx-text);
}

.kh-delivery-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.kh-delivery-banner strong {
    color: var(--sx-accent);
}

/* =============================================
   SKEITTIX HEADER
   ============================================= */

.skeittix-header {
    background: var(--sx-dark);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 2px solid var(--sx-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kh-brand {
    color: white !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kh-brand-logo {
    max-width: 166px;
    height: auto;
}

.kh-brand span {
    color: var(--sx-primary);
}

.kh-spacer {
    flex: 1;
}

.kh-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.kh-nav-list a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
}

.kh-nav-list a:hover {
    color: var(--sx-accent);
}

.kh-cart-btn {
    background: var(--sx-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.kh-cart-btn:hover {
    transform: translateY(-2px);
    background: #006ae0;
}
/* =============================================
   SKEITTIX FOOTER - TÄYDELLISET TYYLIT
   ============================================= */


.skeittix-footer {
    background-color: var(--sx-bg);
    color: var(--sx-text-dim);
    padding-top: 4rem;
    margin-top: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-top: 1px solid var(--sx-border);
}

.skeittix-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Brändiosio on hieman leveämpi */
    gap: 3rem;
}

/* Brändi-osio */
.skeittix-footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sx-text-main);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.skeittix-footer-brand::after {
    content: 'X';
    color: var(--sx-accent);
}

.skeittix-footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sx-text-dim);
    max-width: 320px;
}

/* Otsikot */
.skeittix-footer-heading {
    color: var(--sx-text-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* Yhteystiedot ja osoite */
.skeittix-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeittix-footer-contact a, 
.skeittix-footer-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--sx-text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.skeittix-footer-contact a svg, 
.skeittix-footer-address svg {
    color: var(--sx-accent); /* Ikonit sähkönsinisellä */
    flex-shrink: 0;
}

.skeittix-footer-contact a:hover {
    color: var(--sx-accent-light);
}

/* Pikavalikko-linkit */
.skeittix-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skeittix-footer-links li a {
    color: var(--sx-text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.skeittix-footer-links li a:hover {
    color: var(--sx-text-main);
    padding-left: 5px; /* Pieni liike-efekti */
}

/* Footerin alaosa */
.skeittix-footer-bottom {
    background-color: #0a0a0a;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid var(--sx-border);
}

/* Mobiili-responsiivisuus */
@media (max-width: 768px) {
    .skeittix-footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .skeittix-footer-tagline, 
    .skeittix-footer-contact a, 
    .skeittix-footer-address {
        justify-content: center;
        margin: 0 auto;
    }

    .skeittix-footer-links {
        align-items: center;
    }
}