@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-mint: #A3E4D7;
    /* Fresh Mint */
    --primary-mint-dark: #48C9B0;
    /* Darker Mint for hover/accents */
    --primary-chocolate: #4E342E;
    /* Dark Chocolate */
    --primary-chocolate-light: #795548;
    /* Milk Chocolate */
    --accent-gold: #D4AF37;
    /* Elegant Gold */

    --bg-white: #FFFFFF;
    --bg-cream: #FCF9F7;
    /* Soft cream background */

    --text-dark: #3E2723;
    /* Very dark brown/chocolate for text */
    --text-light: #FFFFFF;

    --shadow-soft: 0 10px 30px rgba(62, 39, 35, 0.08);
    /* Chocolate tinted shadow */
    --shadow-hover: 0 20px 40px rgba(62, 39, 35, 0.2);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- GLOBAL ---------- */
/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    /* Clean slate first... wait, user asked for Mint */
    background: linear-gradient(120deg, #e0f7fa 0%, #80cbc4 100%);
    /* Fresh Mint Gradient */
    background-attachment: fixed;
    /* Parallax feeling */
    min-height: 100vh;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- HEADER (Glass V2) ---------- */
header {
    background-color: rgba(224, 242, 241, 0.3);
    /* Soft Mint Tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 120px;
    padding: 0 5vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    /* Minimal shadow */
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: 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;
    /* Standardize size */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-fashion {
    margin: 0;
    font-size: 24px;
    color: var(--primary-chocolate);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
}

.logo-zone {
    margin: 0;
    font-size: 12px;
    color: var(--primary-chocolate-light);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.4;
    text-shadow: none;
}

.list {
    grid-area: nav;
    margin: 0;
    justify-self: center;
    /* Center align */
}

.list ul {
    list-style: none;
    display: flex;
    gap: 50px;
    /* Wider spacing */
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.list a {
    color: rgb(31, 31, 31);
    /* Neutral dark grey initial state */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-mint-dark);
    transition: width 0.3s ease;
}

.list a:hover {
    color: var(--primary-mint-dark);
}

.list a:hover::after {
    width: 80%;
}

.basket {
    grid-area: basket;
    justify-self: end;
    position: relative;
}

.basket::before {
    content: '';
    /* Separator placeholder if needed */
}

.basket img {
    width: 26px;
    transition: transform 0.3s ease;
    filter: none;
    /* Reset filter */
    opacity: 0.7;
}

.basket a:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* ------ Hello section ------ */
/* ------ Hello section (Beautiful V3) ------ */
.hello-section {
    background: rgba(255, 255, 255, 0.4);
    /* Very subtle glass */
    backdrop-filter: blur(5px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 3rem;
    margin: 3rem auto;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(78, 52, 46, 0.05);
    /* Soft chocolate shadow */
    animation: fadeIn 1s ease-out;
    position: relative;
    text-align: center;
}

.hello-section::before {
    display: none;
}

.hello {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
}

/* Decorative line element */
.hello::after {
    content: "✦";
    display: block;
    font-size: 2rem;
    color: var(--primary-mint-dark);
    margin-top: 1rem;
    opacity: 0.8;
}

.hello h2 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    /* Statement size */
    color: rgb(64, 64, 64);
    margin: 0;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    font-style: italic;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.text {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: rgb(64, 64, 64);
}

.text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.9;
    margin: 0;
    color: rgb(64, 64, 64);
    letter-spacing: 0.5px;
}

/* ---------- MAIN ---------- */
main {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    /* margin-bottom: 4rem; */
}

.cards {
    width: 90%;
    /* max-width: 1200px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 4rem;
    /* Increased spacing */
    padding: 0 20px;
    justify-items: center;
}

/* ---------- CARD (Refined Vertical Layout) ---------- */
.card {
    background-color: var(--bg-white);
    width: 90%;
    /* Full width of grid cell */
    min-height: 540px;
    /* Taller card */
    height: 100%;
    border-radius: 20px;
    /* Softer curves */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    /* Very subtle initial shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy subtle transition */
    border: none;
    /* Removed border for cleaner look */
    margin-bottom: 0;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.15);
    /* Chocolate shadow on hover */
}

.card-img {
    width: 100%;
    height: 340px;
    /* Taller image area */
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background-color: #f8f8f8;
    /* Placeholder bg */
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills without distortion */
    object-position: center;
    /* Focus on center */
    transition: transform 0.4s ease;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

/* ---------- BUTTON ---------- */
.button-buy {
    background-color: transparent;
    color: var(--primary-chocolate);
    padding: 10px 30px;
    height: auto;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary-chocolate);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    /* Fixed margin instead of auto to keep consistent spacing */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-mint);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.button-buy:hover::before {
    transform: scaleX(1);
}

.button-buy:hover {
    border-color: var(--primary-mint);
    color: var(--primary-chocolate);
    box-shadow: 0 5px 15px rgba(163, 228, 215, 0.6);
}

.info-price p:first-child {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.5;
    min-height: 42px;
    /* Consistency for 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-price p:last-child {
    font-size: 1.5rem;
    color: var(--primary-chocolate);
    font-weight: 700;
    margin: 5px 0;
    font-family: "Playfair Display", serif;
}

/* Decor line removed for cleaner look */
.info-price p:last-child::after {
    display: none;
}

.buy-info {
    width: 100%;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--bg-white);
    box-sizing: border-box;
    text-align: center;
    flex-grow: 1;
}

.buy-info::before {
    display: none;
}


/* ---------- FOOTER ---------- */
footer {
    background-color: rgb(64, 64, 64);
    width: 100%;
    padding: 50px 5vw;
    /* Side padding for row layout */
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    justify-content: space-between;
    /* Space out items */
    align-items: center;
    /* Center vertically */
    color: var(--primary-mint);
    gap: 20px;
    /* border-top: 1px solid rgb(64, 64, 64); */
    box-sizing: border-box;
    /* Ensure padding doesn't overflow width */
}

/* Group footer links if needed, or keeping them as is */
.listInFooter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.listInFooter a {
    color: var(--primary-mint);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    font-weight: 600;
}

.listInFooter a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.contacts {
    display: flex;
    flex-direction: row;
    /* Contacts in row too? Or column block on right? Let's keep column for text clarity but align right */
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #E0E0E0;
}

.contacts p {
    margin: 0;
}

.contacts p:first-child {
    font-weight: 700;
    color: var(--primary-chocolate);
    background: var(--primary-mint);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 0;
    /* Remove bottom margin for row alignment */
    font-size: 16px;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols */
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 30px;
    }

    .contacts {
        flex-direction: column;
    }

    header {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    .list {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .list ul {
        justify-content: center;
        gap: 20px;
        font-size: 14px;
    }

    .basket {
        display: none;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .hello h2 {
        font-size: 2rem;
    }

    .cards {
        grid-template-columns: 1fr;
        /* 1 col */
        max-width: 400px;
    }

    .card-img {
        height: 250px;
    }
}