/* ------------------------------------------------------------------ *
 * Base styles: reset, typography, layout primitives, header, footer
 * ------------------------------------------------------------------ */

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

html {
    -webkit-text-size-adjust: 100%;
}

/* Fixed header height. Used by every page that sits below the header.
   The variable adapts at the same breakpoint where the header itself
   collapses to its narrow form. */
:root {
    --header-h: 72px;
}
@media (max-width: 1023.98px) {
    :root { --header-h: 60px; }
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    color: #000;
    background-color: #fff;
    line-height: 1.5;
}

a { color: inherit; }

/* Accessibility: visually hidden */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    z-index: 2000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.skip-link:focus {
    top: 0;
}

/* Focus styles (apply broadly for accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* SVG icons */
.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ *
 * Layout primitives (replaces the bits of Bootstrap we actually use)
 * ------------------------------------------------------------------ */
.container,
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}
.container { max-width: 1140px; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.col-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
.col-6  { flex: 0 0 50%;      max-width: 50%; }
.col-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-12 { flex: 0 0 100%;     max-width: 100%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%;      max-width: 25%; }
    .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-md-6 { flex: 0 0 50%;      max-width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

.align-items-center    { align-items: center; }
.justify-content-around { justify-content: space-around; }
.text-center { text-align: center; }
.text-end    { text-align: right; }

.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }

.no-wrap { white-space: nowrap; }

.d-md-none { }
@media (min-width: 768px) {
    .d-md-none { display: none !important; }
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
.top-header {
    background-color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.top-header > .container-fluid { width: 100%; }

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}
.logo-image {
    height: 28px;
    width: auto;
    display: block;
}

.nav-menu-wrapper {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.nav-menu li a {
    text-decoration: none;
    color: #555;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s;
}
.nav-menu li a:hover,
.nav-menu li a:focus-visible {
    color: #000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 4px;
}
.social-icons a {
    color: #000;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s;
}
.social-icons a:hover,
.social-icons a:focus-visible {
    background-color: #000;
    color: #fff;
}

.shop-btn {
    background-color: #000;
    color: #fff;
    padding: 9px 20px;
    border: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}
.shop-btn:hover,
.shop-btn:focus-visible { background-color: #333; color: #fff; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #000;
    margin: 2px 0;
    transition: 0.3s;
}

/* Mobile / narrow header: collapse nav into a hamburger drawer.
   Breakpoint covers tablets and small desktops where the inline nav
   would otherwise overflow or wrap. */
@media (max-width: 1023.98px) {
    .top-header { padding: 10px 0; height: var(--header-h); }

    .header-row { flex-wrap: nowrap; }

    .nav-menu-wrapper {
        position: static;
    }
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #fff;
        padding: 16px 20px 20px;
        gap: 4px;
        align-items: stretch;
        white-space: normal;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { text-align: center; }
    .nav-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .social-icons { display: none; }

    .hamburger { display: inline-flex; }

    .logo-image { height: 22px; }
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.6);
    padding: 25px 0;
    font-size: 12px;
    letter-spacing: 1px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-copyright { line-height: 1.6; }
.footer-meta {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.3s;
}
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover,
.footer-links a:focus-visible { color: #fff; }

.site-footer-floating {
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: rgba(255,255,255,0.6);
    padding: 12px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.site-footer-floating a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}
.site-footer-floating a:hover,
.site-footer-floating a:focus-visible { color: #fff; }
.site-footer-floating .footer-sep { margin: 0 8px; opacity: 0.4; }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { margin-top: 10px; }
    .footer-links a { margin: 0 12px; }
    .site-footer-floating {
        padding: 10px 15px;
        font-size: 10px;
    }
    .site-footer-floating a { margin-left: 10px; }
}

/* ------------------------------------------------------------------ *
 * Cookie consent banner
 * ------------------------------------------------------------------ */
.consent-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 720px;
    margin: 0 auto;
    background: #1a1a1a;
    color: #fff;
    padding: 18px 22px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}
.consent-banner[hidden] { display: none !important; }
.consent-banner.is-visible { display: flex; }
.consent-banner__text { flex: 1 1 280px; }
.consent-banner__text a {
    color: #fff;
    text-decoration: underline;
}
.consent-banner__actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}
.consent-banner button {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 9px 18px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.consent-banner button.is-secondary {
    background: transparent;
    color: #fff;
}
.consent-banner button:hover,
.consent-banner button:focus-visible { background: #ccc; color: #000; }
.consent-banner button.is-secondary:hover,
.consent-banner button.is-secondary:focus-visible { background: rgba(255,255,255,0.12); color: #fff; }
