/* ========================================
   Colombia Soccer Store - Adidas Style
   Clean, minimal aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #767677;
    --gray-600: #666666;
    --gray-700: #444444;
    --gray-800: #333333;
    --gray-900: #1a1a1a;

    /* Colombian Colors */
    --yellow: #FCD116;
    --blue: #003087;
    --red: #CE1126;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

ul {
    list-style: none;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    font-size: 11px;
    border-bottom: 1px solid var(--gray-200);
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a {
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.top-bar-left a:hover {
    color: var(--black);
    text-decoration: underline;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
}

.lang-option {
    cursor: pointer;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: var(--black);
    font-weight: 600;
}

.lang-option:hover {
    color: var(--black);
}

.lang-divider {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
    max-width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 40px;
    height: 27px;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        flex: 1;
        justify-content: center;
    }
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.highlight {
    color: var(--red);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar {
    display: none;
    align-items: center;
    background: var(--gray-100);
    border-radius: 4px;
    padding: 8px 12px;
    width: 180px;
}

@media (min-width: 1024px) {
    .search-bar {
        display: flex;
    }
}

.search-icon {
    width: 16px;
    height: 16px;
    color: var(--gray-600);
    margin-right: 8px;
}

.search-bar input {
    border: none;
    background: none;
    font-size: 13px;
    width: 100%;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--gray-500);
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    background: var(--gray-100);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--black);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 12px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    text-decoration: underline;
}

.back-link svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-divider {
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--gray-600);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: var(--gray-500);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.item-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
}

.page-description {
    font-size: 13px;
    color: var(--gray-600);
    max-width: 700px;
    margin-top: 8px;
    line-height: 1.6;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--black);
    font-size: 13px;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.filter-btn:hover {
    background: var(--gray-100);
}

.filter-btn svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   Product Grid
   ======================================== */
.product-section {
    padding: 0 0 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--white);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-100);
    overflow: hidden;
}

.product-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform var(--transition-base);
}

.product-card:hover .product-img-wrapper {
    transform: scale(1.03);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn svg {
    width: 20px;
    height: 20px;
    transition: fill var(--transition-fast);
}

.wishlist-btn:hover svg {
    fill: var(--black);
}

.product-info {
    padding: 12px 8px 24px;
}

.product-price {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-name {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.4;
}

.product-category {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.product-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--gray-600);
}

.product-tag.new {
    color: var(--blue);
}

.product-tag.bestseller {
    color: var(--gray-600);
}

.product-tag.colors {
    color: var(--gray-500);
    text-decoration: underline;
    cursor: pointer;
}

/* ========================================
   Lifestyle Section
   ======================================== */
.lifestyle-section {
    padding: 40px 0;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .lifestyle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lifestyle-card {
    text-align: center;
}

.lifestyle-image {
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    margin-bottom: 12px;
}

.lifestyle-image.blue-bg {
    background: linear-gradient(180deg, #2d5ba9 0%, #1a3d7a 100%);
}

.lifestyle-image.yellow-bg {
    background: linear-gradient(180deg, #f5d742 0%, #e5c332 100%);
}

.lifestyle-image.tan-bg {
    background: linear-gradient(180deg, #d4a574 0%, #b8956a 100%);
}

.lifestyle-badge {
    background: var(--white);
    color: var(--black);
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lifestyle-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.thumbnail {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-products-link {
    font-size: 13px;
    color: var(--black);
    text-decoration: underline;
}

.view-products-link:hover {
    color: var(--gray-600);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: var(--gray-300);
    margin: 0 0 40px;
}

/* Load More */
.load-more {
    text-align: center;
    padding: 40px 0 80px;
}

.load-more-btn {
    padding: 14px 48px;
    border: 1px solid var(--black);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.load-more-btn:hover {
    background: var(--black);
    color: var(--white);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-100);
    padding: 48px 0 24px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-300);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-column h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--black);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo .logo-svg {
    width: 32px;
    height: 21px;
}

.copyright {
    font-size: 11px;
    color: var(--gray-500);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.social-links a:hover {
    opacity: 0.6;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Animations & Utilities
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeIn 0.4s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5) { animation-delay: 0.2s; }
.product-card:nth-child(6) { animation-delay: 0.25s; }
.product-card:nth-child(7) { animation-delay: 0.3s; }
.product-card:nth-child(8) { animation-delay: 0.35s; }
