/*
Theme Name: DropShop Theme
Theme URI: https://varaghak.ir
Author: Erfan Soltany Nasab (soltanyesn)
Author URI: https://varaghak.ir
Description: A custom WordPress.
Version: 0.1
Text Domain: DropShop
*/
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 400;
    src: url('access/fonts/Vazirmatn-Regular.woff2') format('woff2')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 500;
    src: url('access/fonts/Vazirmatn-Bold.woff2') format('woff2')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 600;
    src: url('access/fonts/Vazirmatn-Black.woff2') format('woff2')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 700;
    src: url('access/fonts/Sahel-Bold.woff2') format('woff2')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 800;
    src: url('access/fonts/Mahoor-ExtraBold.woff2') format('woff2')
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: fonts,serif!important;
    -webkit-tap-highlight-color: transparent;
}
:root {
    --clr-1: #0d518c; 
    --max-width: 1600px;
}
::selection {
    color: #fff;
    background: #000
}
html {
    font-size: clamp(12px, 2vw, 16px);
    background-color: #fff;
    scrollbar-width: thin;
}
body {
    background-color: #fff;
    background-image: linear-gradient(to right, rgba(0,0,0,0.04) 50%, transparent 50%);
    background-size: 2px;
}
a {
    text-decoration: none!important
}
ul,li {
    list-style: none;
}
#root span {
    font-family: fonts,serif;
}
.wrapper {
    max-width: var(--max-width);
    width: calc(100% - 24px);
    margin: 0 auto;
    /* padding-inline: 12px !important; */
}
.notif-wrapper {
    background-color: var(--clr-1);
    color: #fff;
    padding: 12px;
}
.notif-wrapper address {
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
}
.notif-wrapper svg {
    float: right;
    margin: -1px 0 0 12px;
    width: 1.2rem;
    aspect-ratio: 1;
}
.primary-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08)) drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2));
}
.header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-container {
    display: flex;
    align-items: center;
}
.nav-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.user-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50em;
}
.search-box span {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    display: block;
}
.search-box input {
    width: 320px;
    height: 44px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0 1.5rem;
    color: #0f1011;
}
.search-box button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    opacity: 0.5;
}
.search-box button:hover {
    opacity: 1;
}
.user-action svg {
    width: 1.5rem;
    aspect-ratio: 1;
}
.user-action section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.user-action section > span {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
}
.action-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #0f1011;
    width: 44px;
    height: 44px;
    position: relative;
}
.action-btn svg {
    width: 1.5rem;
    aspect-ratio: 1;
}
.desc {
    display: flex;
}
.action-btn bdi {
    position: absolute;
    background-color: var(--clr-1);
    color: #fff;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 500;
    border-radius: 4px;
    bottom: 0px;
    right: 0px;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.category-wrapper .swiper-slide {
    width: auto !important;
}
.swiper-pagination {
    background-color: #fff;
    width: max-content !important;
    padding: 0 12px !important;
    border-radius: 50em;
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.swiper-pagination-bullet {
    background-color: #0f1011 !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50em !important;
    transition: 0.3s !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--clr-1) !important;
    width: 18px !important;
}
.hero-slider .swiper-container {
    border-radius: 1rem;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
}
.category-wrapper .swiper-container {
    border-radius: 12px;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
}
.hero-slider {
    margin-top: 1rem;
}
.hero-slider a {
    display: flex;
    align-items: center;
}
.hero-slider img {
    display: block;
    width: 100%;
    min-height: 250px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
}
.category-wrapper {
    padding: 1rem 0;
}
.category-wrapper h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f1011;
    padding: 1rem 1rem 0.5rem;
}
.category-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    padding: 1rem;
    background-color: #f7f7f7;
    margin: 12px 2px;
    position: relative;
}
.category-wrapper a::before {
    position: absolute;
    content: '';
    inset: 4px 24px;
    background-color: var(--clr-1);
    border-radius: 4px;
    z-index: -1;
    transition: 0.3s;
}
.category-wrapper a:hover::before {
    inset: -8px 24px;
}
.category-wrapper span {
    text-align: center;
    padding: 12px 0 0 0;
    font-size: 12px;
    font-weight: 500;
    color: #0f1011;
    opacity: 0.7;
    transition: 0.3s;
}
.category-wrapper a:hover span {
    opacity: 1;
}
.category-wrapper img {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.top-product {
    margin-bottom: 5rem;
}
.top-product h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f1011;
    padding: 2rem 1rem 1rem;
    text-align: center;
}
.top-product .swiper-container {
    border-radius: 1rem;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
}
.top-product .swiper-slide {
    width: auto !important;
}
.top-product a {
    border-radius: 1rem;
    width: 650px;
    display: flex;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1rem;
}
.top-product img {
    width: 100%;
    aspect-ratio: 16/ 9;
    display: block;
    transition: 0.5s;
}
.top-product a:hover img {
    transition: 0.2s;
    scale: 1.05;
}
.top-product h3 {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: #fff;
    border-radius: 50em;
    padding: 0.5rem 1rem;
    color: #0f1011;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.top-product section {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    align-items: center;
}
.top-product .plus {
    height: 38px;
    border-radius: 50em;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-1);
}
.top-product .plus::after ,
.top-product .plus::before {
    position: absolute;
    content: '';
    background-color: #fff;
    width: 2px;
    height: 18px;
    display: block;
}
.top-product .plus::after {
    transform: rotate(90deg);
}
.top-product .price {
    background-color: var(--clr-1);
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem 0.3rem;
    border-radius: 50em;
    height: 38px;
}
.product-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-wrapper h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f1011;
    margin-left: auto;
}
.header-wrapper > span {
    width: 44px;
    aspect-ratio: 1;
    background-color: color-mix(in srgb, var(--clr-1) 40%, #000 );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
}
.header-wrapper svg {
    width: 24px;
    aspect-ratio: 1;
}
.link-btn {
    display: flex;
    height: 24px;
    overflow: hidden;
    flex-direction: column;
}
.link-btn span {
    height: 24px;
    transition: 0.3s;
    font-size: 1rem;
    font-weight: 500;
    color: var(--clr-1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.link-btn:hover span {
    transform: translateY(-100%);
}
.product-slider .swiper-slide {
    padding: 12px 2px !important;
}
.product-slider .swiper-container {
    border-radius: 1rem;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.3));
}
.product-slider .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    display: flex;
    gap: 0.5rem;
    padding: 14px 20px 12px !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: none !important;
    margin: 0 auto;
}
.product-box {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 1rem;
    background-color: #ffffff;
    width: calc(100% - 2px);
    position: relative;
}
.product-box::before {
    position: absolute;
    content: '';
    inset: 4px 24px;
    border-radius: 8px;
    z-index: -1;
    background-color: var(--clr-1);
    transition: 0.3s;
}
.product-box:hover::before {
    inset: -8px 24px;
}
.product-box img {
    border-radius: 0.6rem;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
}
.product-box h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #0f1011;
    padding: 0.5rem 1rem;
}
.product-box .price {
    font-size: 16px;
    font-weight: 500;
    padding: 1rem 1rem 0.5rem 1rem;
    color: var(--clr-1);
}
.product-box .price bdi span {
    font-size: 12px;
    font-weight: 400;
    color: #0f1011;
}
.product-list {
    border: 2px solid color-mix(in srgb, var(--clr-1) 30%, #fff);
    border-inline: none;
    padding: 2rem 0;
    border-radius: 0rem;
    margin-block: 2rem;
}
.product-list section {
    background-color: color-mix(in srgb, var(--clr-1) 10%, #fff);
    padding: 2rem;
}
.product-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    margin-top: 1rem;
}
.product-list li {
    width: 100%;
    display: flex;
}
.product-list li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 1rem;
    transition: 0.3s;
}
.product-list li a:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.product-list img {
    width: 70px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.6rem;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--clr-1) 30%, #fff);
}
.product-list h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0f1011;
}
.product-list bdi {
    color: #0f1011;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-list li span {
    font-size: 0.7rem;
}
.product-list li svg {
    width: 2.5rem;
    padding: 0.5rem;
    aspect-ratio: 1;
    color: color-mix(in srgb, var(--clr-1) 10%, #fff);
    border-radius: 0.5rem;
    margin-right: auto;
    margin-left: 1rem;
    background-color: color-mix(in srgb, var(--clr-1) 20%, #000);
}
.article-wrapper section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
}
.article-wrapper article a {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 1rem;
}
.article-wrapper article img {
    width: 100%;
    aspect-ratio: 12/16;
    object-fit: cover;
    transition: 0.3s;
}
.article-wrapper article a:hover img {
    scale: 1.05;
}
.article-wrapper article h3 {
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    color: #0f1011;
    position: absolute;
    inset: auto 12px 12px 12px;
    padding: 1rem;
    border-radius: 1rem;
}
.big-wrapper {
    display: flex;
    align-items: center;
    margin-block: 2rem;
}
.mini-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 1rem;
    margin-block: 2rem;
}
.big-wrapper a,
.mini-banner a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.big-wrapper img,
.mini-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}
.primary-footer {
    padding: 2rem 0 0 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.var-wrappre {
    display: flex;
    align-items: flex-start;
}
.var-wrappre p {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: #0f1011;
}
.var-wrappre svg {
    width: 4rem;
    aspect-ratio: 1;
    color: color-mix(in srgb, var(--clr-1) 50%, #fff);
}
.list-footer {
    display: flex;
    margin-top: 3rem;
}
.list-footer div {
    flex: 1;
}
.list-footer h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--clr-1);
}
.list-footer li a {
    font-size: 1rem;
    color: #0f1011;
    opacity: 0.6;
    transition: 0.3s;
}
.list-footer li a:hover {
    opacity: 1;
}
.list-footer .namad {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.list-footer .namad h3 {
    width: 100%;
}
.list-footer .namad a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem;
    width: 100px;
    aspect-ratio: 1;
}
.namad img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.copy {
    padding: 1rem 0;
    background-color: #0f1011;
    margin-top: 2rem;
}
.copy .wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.copy p {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}
.copy a {
    color: var(--clr-1);
    font-weight: 500;
}




/**************** mobile ****************/
@media (min-width: 1921px) {
}
@media (max-width: 1440px) {
}
@media (min-width: 1125px) {
    .nav-bar > nav > ul {
        display: flex;
        align-items: center;
    }
    .nav-bar > nav > ul > li {
        position: relative;
    }
    .nav-bar > nav > ul > li > a {
        display: flex;
        align-items: center;
        padding: 1.3rem 1.2rem;
        color: #0f1011;
        position: relative;
    }
    .nav-bar > nav > ul > li > a::before {
        position: absolute;
        content: '';
        inset: auto 50% 4px 50%;
        width: 8px;
        height: 4px;
        border-radius: 50em;
        opacity: 0;
        background-color: var(--clr-1);
        transform: translateX(50%);
        transition: 0.3s;
    }
    .nav-bar > nav > ul > li:hover > a::before {
        width: 16px;
        opacity: 1;
    }
    .nav-bar > nav > ul > li > ul {
        position: absolute;
        top: 100%;
        background-color: #fff;
        border-radius: 0 0 0.3rem 0.3rem;
        display: none;
    }
    .nav-bar > nav > ul > li:hover > ul {
        display: block;
    }
    .nav-bar > nav > ul > li > ul > li > a {
        display: flex;
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        width: max-content;
        color: #0f1011;
        opacity: 0.8;
        transition: 0.3s;
    }
    .nav-bar > nav > ul > li > ul > li:hover > a {
        opacity: 1;
    }
    .mobile-bar {
        display: none;
    }
}
@media (max-width: 1124px) {
    .open-menu {
        overflow: hidden;
    }
    .open-menu .notif-wrapper {
        display: none;
    }
    .primary-header {
        filter: none;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    }
    .header-box {
        height: 55px;
        padding: 0 !important;
    }
    .action-btn {
        display: flex;
    }
    .user-action section {
        display: none;
    }
    .mobile-bar {
        position: fixed;
        inset: auto 0 0 0;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    .mobile-bar > * {
        flex: 1;
        height: 70px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
        background-color: transparent;
        border: none;
        outline: none;
        color: rgba(0, 0, 0, 0.6);
        font-size: 12px;
        font-weight: 500;
        padding: 0.5rem;
        cursor: pointer;
    }
    .mobile-bar svg {
        color: rgba(0, 0, 0, 0.8);
        width: 1.5rem;
        aspect-ratio: 1;
    }
    .nav-bar nav {
        display: none;
        position: fixed;
        inset: 55px 0 70px 0;
        width: 100%;
        background-color: #fff;
        padding: 2rem 1rem;
        z-index: 100;
        overflow: overlay;
        scrollbar-width: thin;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    }
    .open-menu .nav-bar nav {
        display: block;
    }
    .logo-container {
        position: absolute;
        right: 2rem;
        pointer-events: none;
        transition: 0.3s;
    }
    .header-box:focus-within .logo-container{
        opacity: 0;
    }
    .nav-bar ul {
        display: flex;
        flex-direction: column;
    }
    .nav-bar ul ul {
        padding-right: 1rem;
    }
    .nav-bar a {
        display: flex;
        font-size: 1rem;
        font-weight: 400;
        padding: 0.4rem 0;
        color: #0f1011;
    }
    .search-box,
    .search-box input,
    .user-action {
        width: 100%;
        border-radius: 1rem;
    }
    .search-box input::placeholder {
        color: transparent;
    }
}
@media (max-width: 768px) {
    .primary-footer {
        padding-bottom: 70px;
    }
    .link-btn {
        height: 20px;
    }
    .article-wrapper article img {
        aspect-ratio: 16/7;
    }
    .top-product a {
        width: 350px;
    }
    .list-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .list-footer nav {
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 1.1rem 0.5rem 1.2rem;
        border-radius: 0.5rem;
    }
    .list-footer nav ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .list-footer nav.active ul {
        max-height: 300px;
    }
    .list-footer nav h3 {
        cursor: pointer;
        position: relative;
        padding-left: 25px;
    }
    .list-footer nav h3::after {
        content: "+";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 20px;
    }
    .list-footer nav.active h3::after {
        content: "-";
    }
    
}
@media (max-width: 592px) {
    .product-list ul {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}
@media (max-width: 425px) {
    .hero-slider img {
        min-height: 180px;
    }
}