/*

Theme Name: shop

 */

:root
{
    --primary-color: #00b38f;
    --error-color: #FFEBEE;
    --success-color:#E8F5E9;
    --info-color: #E3F2FD;
}

@font-face {
    font-family: "iransans";
    src: url("./assets/fonts/IRANSansXFaNum-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "iransans";
    src: url("./assets/fonts/IRANSansXFaNum-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "iransans";
    src: url("./assets/fonts/IRANSansXFaNum-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "iransans" , "sans-serif";
}


body
{
    direction: rtl;
    color: #41414c;
}


a
{
    text-decoration: none;
    color: inherit;
}


.header-title
{
    color: var(--primary-color);
    font-size: 1.25rem;
}



header
{
    background-color: white;
    padding: 1rem 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    margin-bottom: 5rem;
}

.icon
{
    width: 1.5rem;
    height: auto;
    aspect-ratio: 1/1;
}

header nav
{
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    background-color: white;
    padding: .5rem;
    z-index: 999999;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

header nav a
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}


.container
{
    padding: 0 2rem;
}



.enamad-container
{
    display: flex;
    flex-direction: column;
}

.link::after
{
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

footer
{
    background-color: hsl(0 , 0% , 95%);
    margin-top: 10rem;
    margin-bottom: 5rem;
    padding: 1rem 0;
    position: relative;
}

.footer-brand{
    text-align: center;
    position: absolute;
    top: 0;
    left: 5rem;
    right: 5rem;
    padding: .5rem;
}

.footer-brand p
{
    display: inline;
    background-color: var(--primary-color);
    padding: .5rem 3rem;
    color: white;
    border-bottom-left-radius: 9999px;
    border-bottom-right-radius: 9999px;
}

.footer-container
{
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(15rem , 1fr));
    gap: 3rem;
}


.footer-container-section p
{
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.10rem;
}

.footer-container-section nav
{
    display: flex;
    flex-direction: column;
}

.footer-container-section div p
{
    font-size: 1rem;
    font-weight: unset;
}
.symbols-enamad img
{
    width: 5rem;
    height: auto;
    border-radius: 1rem;
}

.enamad-img
{
    background-color: hsl(0 , 0% , 95%);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    width: 10rem;
    height: auto;
    aspect-ratio: 1/1;
}

.toasts-container
{
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast
{
    padding: 1rem;
    border-radius: .5rem;
}

.toast-success
{
    background-color:var(--success-color) ;
}

.toast-error
{
    background-color: var(--error-color);
}

.toast-info
{
    background-color: var(--info-color);
}

.button-center
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}



.loader
{
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid white;
    border-top: 1px solid var(--primary-color);
    animation: loading 1s linear infinite;
    border-radius: 50%;
}

.button-click
{
    background-color: var(--primary-color);
    color: white;
}

@keyframes loading {
    0%
    {
        transform: rotate(0deg);
    }

    100%
    {
        transform: rotate(360deg);
    }
}

.page-title
{
    margin-bottom: 3rem;
}



@media (min-width: 48rem) {

    .container
    {
        padding: 0 10rem;
    }


    .header-container
    {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .toasts-container
    {
        position: fixed;
        top: 0;
        right: 0;
        width: 25vw;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .toast
    {
        padding: 1rem;
        border-radius: .5rem;
    }

    header nav
    {
        all: unset;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .icon
    {
        width: 1.5rem;
        height: auto;
        aspect-ratio: 1/1;
    }

    header nav
    {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    header nav a
    {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: .25rem;
    }

    footer
    {
        margin-bottom: 0;
    }

}