/* 
  Global Styles & Variables 
  Modular system to support both Fanstopis and Kaylestore layouts
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Inter:wght@400;600;800&display=swap');

:root {
    --f-blue: #3273dc;
    --f-bg: #f5f5f5;
    --k-red: #e53961;
    --k-black: #111111;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #333;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- FANSTOPIS SPECIFIC --- */
.fanstopis-page {
    background-color: var(--f-bg);
}

.f-header-top {
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-logo {
    font-size: 32px;
    font-weight: 900;
    color: #111;
}

.f-nav {
    background: var(--f-blue);
    padding: 10px 0;
    max-width: 1070px;
    margin: 0 auto;
}

.f-nav ul {
    display: flex;
    list-style: none;
}

.f-nav ul li a {
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.f-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.f-section-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 4px solid var(--f-blue);
    padding-left: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.f-card h4 {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.f-card:hover h4 {
    color: var(--f-blue);
}

/* --- KAYLESTORE SPECIFIC --- */
.kaylestore-page {
    background: #fff;
}

.k-top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 12px;
}

.k-header {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.k-logo {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -2px;
}

.k-nav {
    background: var(--k-black);
    color: #fff;
    padding: 12px 0;
}

.k-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.k-nav ul li a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.k-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.k-hero-left {
    position: relative;
}

.k-hero-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 15px;
}

.k-card-overlay {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.k-card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.k-badge {
    background: var(--k-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.k-title-lg {
    font-size: 24px;
    line-height: 1.2;
}

.k-title-sm {
    font-size: 14px;
}

.k-sidebar-section {
    margin-bottom: 40px;
}

.k-sidebar-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.k-list-numbered {
    list-style: none;
}

.k-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.k-num {
    width: 30px;
    height: 30px;
    background: var(--k-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.f-nav-close{
    display: none;
}
.toggle-text{
    display: none;
}

.searchIcon2{
    display: none;
}


@media only screen and (max-width: 959px) {
    .searchIcon{
        display: none;
    }
    .searchIcon2{
        display: inline-block;
    }
    .toggle-text{
        display: inline-block;
        color: #333;
        font-size: .85em;
        text-transform: uppercase;
    }
    .f-header-top{
      position: relative;
       
    }
    .search-input-value{
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        display: none;
    }
    .f-nav-close{
        display: block;
        font-size: 1rem;
        justify-content: flex-end;
        padding: .8rem 1.5rem;
        width: 100%;
        height: auto;
        text-align: right;
    }
    .f-nav-close .fas{
        margin-right: .6rem;
    }

    .f-nav{
        display: none;
        position: fixed;
        background: #fff;
        /* display: flex; */
        justify-content: stretch;
        overflow: auto;
        -ms-overflow-style: auto;
        width: 100%;
        height: 100vh;
        left: 0;
        top: 0;
    }
    .container{
        display: block;
        width: 100%;
    }
    .f-nav ul {
        list-style: none;
        display: block;
        width: 100%;
    }
    .f-nav ul li{
      border-color: #dedfdf;
      border-style: solid;
      border-width: .1rem 0 0;
      display: flex;
      flex-wrap: wrap;
      line-height: 1;
      justify-content: flex-start;
      margin: 0;
    }
    .f-nav ul li a{
      display: block;
      line-height: 30px;
      text-decoration: none;
      width: 100%;
      color: #333;
      padding: 1rem 2.5rem 1rem 1.5rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .f-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .k-hero-grid { grid-template-columns: 1fr; }
}
