/*
 Theme Name:   Futurio Storefront Child
 Theme URI:    https://your-site.com
 Description:  Child theme for Futurio Storefront
 Author:       You
 Template:     futurio-storefront
 Version:      1.0
*/

@import url("../futurio-storefront/style.css");

/* === YOUR CUSTOM CSS BELOW === */

/* -------------------------------------------------
   Global reset & typography
   ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin:0; padding:0; }
html { font-family: 'Roboto', Arial, sans-serif; font-size:16px; }
body { background:#f5f5f5; color:#333; line-height:1.5; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 15px; }

/* -------------------------------------------------
   Header
   ------------------------------------------------- */
.top-header {
    background:#111;
    color:#fff;
    padding:12px 0;
    position:sticky;
    top:0;
    z-index:1000;
}
.top-header .container { 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    flex-wrap:wrap; 
    gap:15px;
}
.logo { font-size:1.8rem; font-weight:700; }
.search-form { 
    flex:1 1 300px; 
    max-width:500px; 
    display:flex; 
}
.search-form input {
    flex:1;
    padding:8px 12px;
    border:1px solid #444;
    background:#222;
    color:#fff;
    border-radius:4px 0 0 4px;
}
.search-form button {
    background:#0066cc;
    border:none;
    color:#fff;
    padding:0 15px;
    border-radius:0 4px 4px 0;
    cursor:pointer;
}
.top-links .cart-link { 
    font-weight:600; 
    white-space:nowrap; 
}

/* -------------------------------------------------
   Badges banner
   ------------------------------------------------- */
.badges {
    background:#222;
    color:#fff;
    padding:12px 0;
    font-size:0.9rem;
}
.badges .container { 
    display:flex; 
    flex-wrap:wrap; 
    gap:20px; 
    justify-content:center; 
    align-items:center; 
    text-align:center;
}
.badge {
    flex:1 1 180px;
    min-width:150px;
}
.badge .sub { 
    display:block; 
    font-size:0.8rem; 
    opacity:0.9; 
}

/* -------------------------------------------------
   Main navigation
   ------------------------------------------------- */
.main-nav {
    background:#fff;
    border-bottom:1px solid #ddd;
    position:sticky;
    top:54px;   /* height of top-header */
    z-index:999;
}
.main-nav .container { 
    display:flex; 
    gap:30px; 
    padding:10px 0;
}
.main-nav a {
    font-weight:600;
    color:#333;
    padding:6px 0;
    position:relative;
}
.main-nav a.active,
.main-nav a:hover { 
    color:#0066cc; 
}
.main-nav a.active::after {
    content:"";
    position:absolute;
    bottom:0; left:0; right:0;
    height:3px;
    background:#0066cc;
}

/* -------------------------------------------------
   Layout – sidebar + content
   ------------------------------------------------- */
.main-wrapper {
    display:flex;
    gap:30px;
    margin:30px auto;
    flex-wrap:wrap;
}
.sidebar {
    flex:0 0 220px;
    background:#2c3e50;
    padding:15px 0;
}
.sidebar ul li a {
    display:block;
    color:#ecf0f1;
    padding:10px 20px;
    transition:background .2s;
}
.sidebar ul li a:hover {
    background:#34495e;
}
.content {
    flex:1;
    min-height:500px;
    background:#fff;
    padding:20px;
    box-shadow:0 0 10px rgba(0,0,0,.05);
}

/* -------------------------------------------------
   Footer
   ------------------------------------------------- */
.site-footer {
    background:#111;
    color:#aaa;
    text-align:center;
    padding:20px 0;
    margin-top:50px;
    font-size:0.9rem;
}

/* -------------------------------------------------
   Responsive tweaks
   ------------------------------------------------- */
@media (max-width:992px) {
    .top-header .container { flex-direction:column; align-items:stretch; }
    .search-form { order:3; margin-top:10px; }
    .badges .container { gap:15px; }
}
@media (max-width:768px) {
    .main-nav .container { flex-wrap:wrap; gap:15px; justify-content:center; }
    .sidebar { flex:0 0 100%; order:2; }
    .main-wrapper { flex-direction:column; }
}