a {
    color: #a4cd39;
}
.nav-dropdown {
    position: relative;
    cursor: pointer;

    &:hover {
        .nav-submenu {
            position: absolute;
            z-index: 10;
            display: block;
            top: 100%;
            min-width: 100%;
        }
    }

    .nav-submenu {
        display: none;
        padding-top: 13px;

        ul {
            border-top: 4px solid #DBDBDB;
            padding: 0 16px;
            display: block;
            box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            background-color: #fff;

            & > :not(:last-child) {
                border-bottom: 1px solid #4C4C4C;
                border-top-width: 0;
            }

            li {
                padding: 10px 0;

                :hover {
                    color: #000;
                }

                a {
                    padding: 0;
                    border-right: 0 !important;
                    display: inline-flex;
                    align-items: center;
                    justify-content: space-between;
                    column-gap: 10px;
                    font-size: 10px;
                    width: 100%;

                    span > span {
                        font-size: 13px;
                        font-weight: 600;
                    }
                }
            }
        }
    }
}

.filters {
    position: relative;

    .filter-button {
        cursor: pointer;
        align-items: center;
        column-gap: 0.76rem;
        display: inline-flex;
        border: 0 solid transparent;
        background-color: #ABC12D;
        color: white;
        outline: none;
        padding-inline: 1rem;
        padding-block: 0.25rem;
    }

    .filters-wrapper {
        position: absolute;
        z-index: 50;
        top: 2.5rem;
        width: 100%;
        border: 1px solid #F0F0F0;
        background-color: #fff;
        padding: 0.75rem;
        color: #364153;

        .width-item {
            display: flex;
            align-items: center;
            column-gap: 5px;
            font-size: 13px;
        }

        .filter-items {
            display: grid;
            gap: 2.25rem;
            grid-template-columns: repeat(1, minmax(0, 1fr));

            @media (width >= 64rem) {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }

            .filter-heading {
                font-size: 20px;
                padding-bottom: 8px;
                border-bottom: 1px solid rgb(0 0 0 / 0.1);
            }

            .filter-price {
                .filter-price-wrapper {
                    .range-text {
                        padding: 10px 0;
                    }

                    .range-wrapper {
                        padding: 0 10px;

                        .ui-slider-handle {
                            background: #ABC12D;
                            border-color: #ABC12D;
                        }
                    }
                }
            }

            .filter-frame-color {
                .frame-color-select {
                    margin-top: 10px;
                    width: 100%;
                    padding: 5px;
                    border: 1px solid #B0B0B0;
                    border-radius: 0;
                    color: #4C4C4C;
                }
            }

            .filter-width {
                .width-items-wrapper {
                    display: grid;
                    grid-template-columns: repeat(3, minmax(0, 1fr));
                    gap: 1.25rem;
                    padding-block: 12px;

                    input[type="checkbox"] {
                        appearance: none;
                        min-width: 1rem;
                        min-height: 1rem;
                        border-radius: 3px;
                        position: relative;
                        cursor: pointer;
                        border: 2px solid #D9D9D9;
                        background-color: #D9D9D9;

                        &:checked {
                            border-color: #ABC12D;
                            background-color: #ABC12D;
                        }
                    }
                }
            }
        }
    }

    .filter-actions {
        display: flex;
        padding-block: 12px;
        justify-content: right;
        background: #F0F0F0;
        margin: -12px;
        padding: 12px;

        .filter-action-wrapper {
            display: flex;
            width: 100%;
            align-items: flex-start;
            flex-direction: column;
            row-gap: 10px;
            column-gap: 12px;

            .filter-close {
                width: 100%;
                display: none;
                align-items: center;
                justify-content: end;
                padding-bottom: 30px;

                @media (width >= 64rem) {
                    display: flex;
                }

                button {
                    display: inline-flex;
                    align-items: center;
                    column-gap: 0.5rem;
                    justify-content: end;
                    border: 0 solid transparent;
                    padding-block: 4px;
                    font-size: 14px;
                    cursor: pointer;
                    outline: none;

                    svg {
                        width: 1.75rem;
                        height: 1.75rem;
                    }
                }
            }

            .filter-action {
                width: 100%;
                display: block;
                text-align: center;
                cursor: pointer;
                white-space: nowrap;
                padding-inline: 16px;
                border: 0 solid transparent;
                outline: none;
                padding-block: 4px;
                color: white;

                &.clear-action {
                    width: 100%;
                    background: #8E8E8E;
                }

                &.apply-action {
                    width: 100%;
                    background: #ABC12D;
                }

                &.close-action {
                    width: 100%;
                    color: black;
                    background: #fff;

                    @media (width >= 64rem) {
                        display: none;
                    }
                }
            }
        }
    }
}

.alert {
    border-style: solid;
    border-block-width: 0;
    border-right-width: 0;
    border-left-width: 4px;
    padding: 1.25rem;
    text-align: left;

    &.success {
        border-color: #00DF72;
        background-color: #F0FDF4;
        color: #0D6935;
    }

    &.warning {
        border-color: #FDC800;
        background-color: #FEFCE8;
        color: #A65F00;
    }
}

.category-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 1rem;
    color: #4C4C4C;

    h1 {
        font-size: 1.5rem;
        line-height: 2;
        font-weight: 500;
    }

    p {
        font-size: 1rem;
        line-height: 0.25rem;
    }
}

.category-section {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1.24rem;
    @media (width >= 48rem) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width >= 64rem) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.category-card {
    position: relative;

    .category-thumbnail img {
        aspect-ratio: 1 / 1;
        width: 100%;
    }

    .category-thumbnail {
        width: 100%;
        overflow: hidden;
        position: relative;

        .price-tag {
            position: absolute;
            right: -1px;
            bottom: 0;
            background-color: #cb2129;
            padding-inline: 1rem;
            padding-block: 0.65rem;
            font-size: 1rem;
            line-height: 1;
            color: #fff;

            span {
                font-size: 1.25rem;
                font-weight: 700;
            }
        }
    }

    .category-card-details {
        background-color: #4C4C4C;
        padding: 1.25rem;
        color: #fff;

        h2 {
            font-size: 1.5rem;
            line-height: 2;
            font-weight: 500;
        }

        p {
            font-size: 0.8rem;
            line-height: 1.6;
        }

        .action-buttons {
            padding-block: 0.75rem;
        }

        .action-buttons a {
            cursor: pointer;
            border-style: none;
            background-color: #ABC12D;
            padding-inline: 1.25rem;
            padding-block: 0.5rem;
            color: #fff;
            outline-style: none;
        }
    }
}

.product-card {
    display: flex;
    position: relative;
    flex-direction: column;

    .product-thumbnail img {
        aspect-ratio: 1 / 1;
        width: 100%;
    }

    .product-thumbnail {
        position: relative;
        width: 100%;
        border-inline-style: solid;
        border-inline-width: 1px;
        border-top-style: solid;
        border-top-width: 1px;
        border-color: #C9C9C9;
        background-color: #fff;
        margin-bottom: 0 !important;

        .price-tag {
            position: absolute;
            right: -1px;
            bottom: 0;
            background-color: #ABC12D;
            padding-inline: 1rem;
            padding-block: 0.65rem;
            font-size: 1rem;
            line-height: 1;
            color: #fff;

            span {
                font-size: 1.25rem;
                font-weight: 700;
            }
        }
    }

    .product-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1 1 auto;
        background-color: #4C4C4C;
        padding: 1.25rem;
        color: #fff;

        h2 {
            font-size: 1.5rem;
            line-height: 1;
        }

        p {
            font-size: 0.8rem;
            line-height: 1.6;
        }

        .action-buttons {
            padding-block: 0.75rem;
        }

        .action-buttons a {
            cursor: pointer;
            border-style: none;
            background-color: #ABC12D;
            padding-inline: 1.25rem;
            padding-block: 0.5rem;
            color: #fff;
            outline-style: none;
        }
    }
}

.category-card-link, .product-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner-boxes-container {
    .hero-banner-boxes {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin: 120px auto;
        justify-content: center;
        align-items: center;

        @media (width >= 1024px) {
            flex-direction: row;
        }

        .design-now-box {
            margin: 0;
            width: 480px;
        }
    }
}
