.gender-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 25px;
}

.gender-toggle a {
    display: inline-block;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.gender-toggle a.active {
    background-color: var(--accent);
    color: #fff;
}

.gender-toggle a:not(.active) {
    background-color: #f0f0f0;
    color: var(--text-main);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dropdown-btn:hover {
    background-color: #fcfcfc;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 100;
    border-radius: 12px;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.brand-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: left;
}

.apply-btn {
    width: 100%;
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}

.brands-list-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.brands-list-container::-webkit-scrollbar {
    width: 4px;
}

.brands-list-container::-webkit-scrollbar-thumb {
    background: #e0dcd5;
    border-radius: 2px;
}

body.body-scroll-lock {
    overflow: hidden;
}


.dropdown-backdrop {
    display: none;
}

.bottom-sheet-handle {
    display: none;
}

.bottom-sheet-header {
    display: none;
}

@media (max-width: 768px) {
    .gender-toggle a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .dropdown-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .dropdown-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .dropdown-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    .dropdown-content {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;
        top: auto;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 24px 24px 0 0;
        max-height: 80vh;
        z-index: 1001;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
        padding: 0 20px 30px;
        margin-top: 0;
        background-color: #fff;
        visibility: hidden;
        box-sizing: border-box;
    }

    .dropdown-content.show {
        transform: translateY(0) !important;
        visibility: visible;
    }

    .bottom-sheet-handle {
        display: block;
        width: 36px;
        height: 4px;
        background-color: #e0dcd5;
        border-radius: 2px;
        margin: 12px auto 16px;
    }

    .bottom-sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .bottom-sheet-title {
        font-family: 'Playfair Display', serif;
        font-size: 20px;
        font-weight: 600;
        color: var(--text-main);
    }

    .bottom-sheet-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--text-main);
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-content form {
        display: flex;
        flex-direction: column;
        height: calc(100% - 60px);
        overflow: hidden;
    }

    .brands-list-container {
        flex: 1;
        max-height: calc(80vh - 180px);
        overflow-y: auto;
        margin-bottom: 20px;
    }

    .brand-checkbox {
        padding: 14px 0;
        border-bottom: 1px solid #f5f0eb;
        margin-bottom: 0;
        font-size: 15px;
    }

    .brand-checkbox:last-child {
        border-bottom: none;
    }

    .apply-btn {
        margin-top: auto;
        padding: 16px;
        font-size: 15px;
        border-radius: 12px;
    }
}


.categories-nav {
    display: flex;
    gap: 10px;
    overflow: visible;
    padding-bottom: 10px;
    margin-bottom: 25px;
    scrollbar-width: none;
    justify-content: center;
}

.categories-nav::-webkit-scrollbar {
    display: none;
}

.categories-nav a {
    white-space: nowrap;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    color: var(--text-main);
    transition: all 0.2s;
}

.categories-nav a.active {
    background-color: #faebe9;
    color: #b57b70;
    font-weight: 600;
}


.hero-banner {
    background: linear-gradient(135deg, #fdf8f5 0%, #f6ebe4 100%);
    border-radius: 16px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    min-height: 480px;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.hero-content h2 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.hero-content h2 .highlight {
    color: #b57b70;
}

.hero-content p {
    font-size: 16px;
    color: #333333;
    margin: 0 0 32px;
    line-height: 1.5;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--accent);
    color: #fff;
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.section-header a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.product-card {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.card-img-wrap {
    background-color: var(--card-bg);
    border-radius: 16px;
    aspect-ratio: 1/1;
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    transition: color 0.2s;
}

.card-wishlist:hover {
    color: #e57373;
}

.card-brand {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-name {
    font-size: 14px;
    color: var(--text-main);
    margin: 0 0 10px;
    font-weight: 500;
}

.card-price {
    font-size: 16px;
    font-weight: 700;
}


.features-banner-home {
    background-color: var(--card-bg);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
    gap: 20px;
    margin-bottom: 50px;
}

.feature-item-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.feature-item-home i {
    font-size: 28px;
    color: var(--text-main);
}

.feature-item-home h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.feature-item-home p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}


.newsletter-banner {
    background: #ebdfce;
    border-radius: 16px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    color: #1a1a1a;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #1a1a1a;
}

.newsletter-content p {
    font-size: 14px;
    color: #7a7a7a;
    margin: 0 0 30px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #f6f0eb;
    border: none;
    border-radius: 12px;
    padding: 5px;
    max-width: 350px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #8c8c8c;
}

.newsletter-form button {
    background: #46322b;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #33231e;
}

.newsletter-image {
    position: absolute;
    right: 0;
    bottom: -20px;
    height: 120%;
    object-fit: contain;
    z-index: 1;
    scale: 1.1;
}


@media (max-width: 768px) {
    .hero-banner {
        flex-direction: row;
        padding: 30px 20px;
        min-height: 220px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        background: linear-gradient(135deg, #fdf8f5 0%, #f6ebe4 100%);
    }

    .hero-content {
        max-width: 60%;
        width: 100%;
        z-index: 2;
        position: relative;
    }

    .hero-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 11px;
        margin-bottom: 15px;
        line-height: 1.4;
        color: #333333;
    }

    .hero-content .btn-dark {
        padding: 8px 16px;
        font-size: 11px;
        border-radius: 100px;
        display: inline-flex;
    }

    .hero-image {
        position: absolute;
        right: -85px;
        bottom: 0;
        height: 100%;
        width: auto;
        left: auto;
        transform: none;
        object-fit: contain;
        object-position: right bottom;
        z-index: 1;
    }

    .hero-image.female-hero {
        right: -40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .features-banner-home {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .feature-item-home {
        flex-direction: row;
        text-align: left;
    }

    .newsletter-banner {
        flex-direction: row;
        padding: 25px 20px;
        min-height: 100px;
        background: #ebdfce;
        align-items: center;
        border-radius: 16px;
    }

    .newsletter-content {
        max-width: 55%;

    }

    .newsletter-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .newsletter-content p {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .newsletter-form {
        max-width: 100%;
        padding: 3px;
    }

    .newsletter-form input {
        padding: 8px 10px;
        font-size: 11px;
    }

    .newsletter-form button {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .newsletter-image {
        height: 110%;
        width: auto;
        left: auto;
        right: -85px;
        bottom: -35px;
        object-position: right bottom;
        scale: 0.85;
    }

    .categories-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }
}