
/* =========================================================
   ATELIER — CREATIVE FASHION HOUSE
   Inspired by Trifid Media's bold digital aesthetic
========================================================= */


/* 01 — DESIGN SYSTEM
--------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --white: #ffffff;
    --black: #111111;
    --ink: #202020;
    --grey: #777777;
    --light-grey: #eeeeee;
    --purple: #7548e8;
    --orange: #ff7043;
    --lime: #d8f36a;
    --pink: #f2a6bd;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Manrope', sans-serif;
    --container: 1440px;
    --transition: 0.35s ease;
}


/* 02 — RESET
--------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

::selection {
    background: var(--lime);
    color: var(--black);
}


/* 03 — ANNOUNCEMENT BAR
--------------------------------------------------------- */

.announcement-bar {
    background: var(--black);
    color: var(--white);
    height: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.announcement-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
    padding: 0 20px;
}

    .announcement-content span {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 1.4px;
        white-space: nowrap;
    }


/* 04 — HEADER
--------------------------------------------------------- */

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--container);
    min-height: 76px;
    margin: auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* BRAND */

.brand-logo,
.footer-logo {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--black);
    white-space: nowrap;
}

    .brand-logo span,
    .footer-logo span {
        color: var(--purple);
    }


/* DESKTOP NAVIGATION */

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

    .desktop-navigation a {
        position: relative;
        font-size: 11px;
        font-weight: 600;
        color: #333333;
        transition: color var(--transition);
    }

        .desktop-navigation a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -7px;
            width: 0;
            height: 2px;
            background: var(--purple);
            transition: width var(--transition);
        }

        .desktop-navigation a:hover {
            color: var(--purple);
        }

            .desktop-navigation a:hover::after {
                width: 100%;
            }


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 19px;
}

.header-icon {
    position: relative;
    width: 23px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--black);
    transition: transform var(--transition), color var(--transition);
}

    .header-icon:hover {
        color: var(--purple);
        transform: translateY(-2px);
    }

    .header-icon svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.cart-count {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    font-size: 8px;
    font-weight: 700;
}


/* MOBILE MENU BUTTON */

.mobile-menu-toggle {
    display: none;
    width: 25px;
    height: 23px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
}

    .mobile-menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--black);
        transition: transform var(--transition);
    }


/* MOBILE NAVIGATION */

.mobile-navigation {
    display: none;
    padding: 20px 6%;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
}

    .mobile-navigation a {
        display: block;
        padding: 12px 0;
        font-size: 13px;
        font-weight: 600;
        border-bottom: 1px solid var(--light-grey);
    }

        .mobile-navigation a:hover {
            color: var(--purple);
        }

    .mobile-navigation.is-open {
        display: block;
    }


/* =====================================================
   05 — SEARCH PANEL
===================================================== */

.search-panel {
    display: none;
    position: fixed;
    top: 106px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    padding: 25px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

    .search-panel.is-open {
        display: block;
    }

.search-form {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .search-form input {
        flex: 1;
        min-width: 0;
        padding: 13px 5px;
        border: none;
        border-bottom: 1px solid #999999;
        outline: none;
        background: transparent;
        font-size: 14px;
    }

        .search-form input:focus {
            border-color: var(--purple);
        }

    .search-form button {
        padding: 13px 24px;
        border: none;
        background: var(--black);
        color: var(--white);
        font-size: 11px;
        font-weight: 700;
        transition: background var(--transition);
    }

        .search-form button:hover {
            background: var(--purple);
        }

@media (max-width: 760px) {
    .search-panel {
        top: 95px;
        padding: 20px 5%;
    }

    .search-form {
        gap: 10px;
    }

        .search-form button {
            padding: 13px 16px;
        }
}

/* 06 — MAIN CONTENT
--------------------------------------------------------- */

main {
    width: 100%;
    min-height: 50vh;
}


/* 07 — FOOTER
--------------------------------------------------------- */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 75px 7% 22px;
}

.footer-main {
    max-width: var(--container);
    margin: auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 65px;
}

.footer-logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 260px;
    color: #aaaaaa;
    font-size: 12px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-column h3 {
        margin-bottom: 7px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.3px;
        text-transform: uppercase;
    }

    .footer-column a {
        width: fit-content;
        color: #aaaaaa;
        font-size: 11px;
        transition: color var(--transition), transform var(--transition);
    }

        .footer-column a:hover {
            color: var(--lime);
            transform: translateX(4px);
        }

.footer-bottom {
    max-width: var(--container);
    margin: auto;
    padding-top: 20px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #888888;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}


/* 08 — RESPONSIVE DESIGN
--------------------------------------------------------- */

@media (max-width: 1050px) {

    .header-inner {
        gap: 20px;
    }

    .desktop-navigation {
        gap: 19px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 760px) {

    .announcement-content {
        justify-content: center;
    }

        .announcement-content span:nth-child(n+2) {
            display: none;
        }

    .header-inner {
        min-height: 65px;
        padding: 0 5%;
    }

    .brand-logo {
        font-size: 24px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        gap: 15px;
    }

    .search-panel {
        top: 95px;
    }

    .site-footer {
        padding: 55px 6% 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}


@media (max-width: 390px) {

    .header-actions {
        gap: 11px;
    }

    .brand-logo {
        font-size: 22px;
    }

    .footer-main {
        gap: 30px 14px;
    }
}


/* 09 — ACCESSIBILITY
--------------------------------------------------------- */

:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================================
   ATELIER — SYSTEM NOTIFICATIONS
========================================= */

.message-container {
    width: 90%;
    max-width: 1250px;
    margin: 20px auto;
}

.site-message {
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

    .site-message.success {
        background: #edf5ed;
        color: #315d38;
        border: 1px solid #d5e7d5;
    }

    .site-message.error {
        background: #fbefed;
        color: #914638;
        border: 1px solid #efd6d1;
    }

    .site-message.warning {
        background: #faf4e6;
        color: #80632a;
        border: 1px solid #eee1bd;
    }

    .site-message.info {
        background: #eef2f5;
        color: #40596b;
        border: 1px solid #d9e2e9;
    }