/*
Theme Name: Muadi
Text Domain: muadi
Version: 1.03
*/
:root {
    --blue: #5ea9a1;
    --orange: #F7931E;
    --nero: #3D3D3D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #37be5f;
}

body {
    margin: 0;
    line-height: 1.2;
    font-size: 16px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    color: #222;
}

#header {
    padding: 20px 20px 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #5ea9a1;
    min-height: 400px;
}

.tlink {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

.tlink a {
    color: #ffff;
    display: flex;
    background: #ffffff40;
    gap: 10px;
    align-items: center;
    border-radius: 20px;
    padding: 10px 18px;
}

.tlink a.mgg {
    background: rgb(173,99,213);
    background: linear-gradient(90deg, rgba(173,99,213,1) 0%, rgba(124,76,179,1) 100%);
}

.tlink svg {
}

#header:before {
    content: '';
    display: block;
    width: 80vw;
    height: 80vw;
    left: -30vw;
    top: -20vw;
    background-color: #ffff;
    border-radius: 50%;
    opacity: 0.1;
    position: absolute;
    pointer-events: none;
}

.intro .text span {
    display: inline-block;
    background-color: #ffffff29;
    padding: 0 4px;
    border-radius: 10px;
    margin: 3px 0px;
}

.intro .title {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
}

.intro .text {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
}

main {
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 10px -5px #000;
    margin-top: 250px;
    z-index: 11;
    position: relative;
}

main>.content {
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

h1.title {
    text-align: center;
    padding: 20px;
}

.product-list {
    max-width: 1200px;
    margin: auto;
    padding: 15px 15px 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.product-list img {
    height: auto;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-item {
    border: 1px solid #e5e5e5;
    background-color: #f5b34b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 15px -10px #000;
    background: linear-gradient(90deg, rgba(240,138,83,1) 0%, rgba(245,179,75,1) 100%);
}

.product-item a {
    color: #fff;
}
.product-item .tag{
    position:absolute;
    background:#bb2e24;
    right:10px;
    top: -10px;
    border-radius: 4px;
    font-size: 14px;
    padding: 3px 5px;
    pointer-events: none;
}
.product-item .tag.taobao{
    background: #8763b9;
}

.product-item a>div {
    padding: 10px;
    position:relative;
}

.product-item p {
    font-size: 14px;
    line-height: 1em;
}

.product-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2;
}

nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--blue);
    z-index: 111;
    border-radius: 0;
    backdrop-filter: blur(10px);
    align-content: center;
    padding-left: 10px;
    overflow-x: auto;
    box-shadow: 0 0 10px -5px;
}

nav ul {
    display: flex;
    white-space: nowrap;
    gap: 10px;
}

nav li {
    display: block;
}
nav li.current-menu-item{
    order:-1;
}

nav li a {
    display: block;
    padding: 8px 10px 5px;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    /* backdrop-filter: blur(10px); */
}

nav li.current-menu-item>a {
    background-color: #f08a53;
    color: #fff;
}


@media(min-width:800px){
    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap:20px;
    }
}