@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- COLORS ---------- */
:root {
    --primary-burgundy: #5D001E;
    /* Бордовий */
    --secondary-pink: #E3B4B8;
    /* Ніжно-рожевий */
    --bg-cream: #FDFBF7;
    /* Кремовий/білий */
    --text-dark: #2C1A1D;
    --text-light: #FDFBF7;
    --accent-gold: #c5a059;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(93, 0, 30, 0.05);
    --shadow-hover: 0 20px 40px rgba(93, 0, 30, 0.15);
}

/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- HEADER ---------- */
header {
    background-color: var(--bg-cream);
    height: 90px;
    padding: 0 5vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "nav logo basket";
    align-items: center;
    border-bottom: 2px solid var(--secondary-pink);
}

.logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.logo img {
    width: 60px;
}

.logo-fashion {
    margin: 0;
    font-size: 24px;
    color: var(--primary-burgundy);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-zone {
    margin: 0;
    font-size: 14px;
    color: var(--secondary-pink);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.list {
    grid-area: nav;
    margin: 0;
    justify-self: start;
}

.list ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.list a {
    color: var(--primary-burgundy);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-pink);
    transition: width 0.3s ease;
}

.list a:hover {
    color: var(--secondary-pink);
}

.list a:hover::after {
    width: 100%;
}

.basket {
    grid-area: basket;
    justify-self: end;
}

.basket img {
    width: 28px;
    filter: invert(13%) sepia(35%) saturate(3882%) hue-rotate(327deg) brightness(88%) contrast(106%);
    transition: transform 0.3s ease;
}

.basket a:hover img {
    transform: scale(1.1);
}

/* ---------- MAIN ---------- */
main {
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 0;
}

.store-info {
    background-color: var(--white);
    width: 80%;
    max-width: 900px;
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 180, 184, 0.3);
    /* Subtle pink border */
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.store-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 4px;
    background-color: var(--secondary-pink);
}

h1 {
    font-family: "Playfair Display", serif;
    color: var(--primary-burgundy);
    margin: 0;
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-family: "Playfair Display", serif;
    color: var(--primary-burgundy);
    font-size: 1.8rem;
    margin: 0;
    margin-top: 1rem;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
    text-align: justify;
}

.separator {
    border: none;
    border-top: 1px solid var(--secondary-pink);
    margin: 1.5rem auto;
    width: 70%;
    opacity: 0.6;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--primary-burgundy);
    width: 100%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    gap: 30px;
    margin-top: 2rem;
    border-top: 5px solid var(--secondary-pink);
}

.listInFooter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.listInFooter a {
    color: var(--secondary-pink);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    font-weight: 500;
}

.listInFooter a:hover {
    color: var(--white);
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    font-size: 15px;
}

.contacts p:first-child {
    font-weight: 600;
    color: var(--secondary-pink);
    margin-bottom: 5px;
    font-size: 16px;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
        background-color: var(--white);
    }

    .list {
        margin: 0;
        width: 100%;
        margin-right: 0;
    }

    .list ul {
        justify-content: center;
        gap: 20px;
        font-size: 14px;
    }

    .basket {
        display: none;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .store-info {
        width: 90%;
        padding: 2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .listInFooter ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}