/* ============================================================
   SNEACKS - LAYOUT STYLES
   ============================================================ */

/* Container */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Grid & Flex Utilities */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Section Spacing */
.section {
    padding: var(--space-lg) 0;
}

.section-lg {
    padding: var(--space-xl) 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
/* ============================================================
   NAVBAR & SITE-NAV
   ============================================================ */
.site-nav,
.navbar {
    display: block !important;
    padding: 0 !important;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #f0ece4;
    border-bottom: 1px solid #d8d4c8;
    transition: all var(--transition-normal);
}

.site-nav-container,
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    padding: 0 48px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-brand,
.nav-logo {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: #2c2c1e;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a,
.nav-link {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #4a4a38;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a:hover,
.nav-link:hover {
    color: #2c2c1e;
}

.nav-links a.active,
.nav-link.active {
    color: #2c2c1e;
    font-weight: 600;
}

.nav-links a.active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: #2c2c1e;
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #4a4a38;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a4a38;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    transition: color 0.2s;
}

.nav-icon:hover,
.nav-icon:hover svg {
    color: #2c2c1e;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50px;
    background: #6b7a45;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 1px;
    background: #2c2c1e;
    transition: all var(--transition-fast);
}

/* Page Wrapper for sticky nav offset */
.page-wrapper {
    min-height: calc(100vh - 52px);
    display: flex;
    flex-direction: column;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--color-bg-secondary);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: auto;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.footer-brand p {
    max-width: 300px;
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    font-size: 1.2rem;
}
.cart-wrapper{

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}

.cart-badge{

    position: absolute;

    top: -8px;

    right: -10px;

    min-width: 18px;

    height: 18px;

    padding: 0 5px;

    border-radius: 50px;

    background: #7A8B52;

    color: #fff;

    font-size: 11px;

    font-weight: 600;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1;

}