:root {
    color-scheme: only light;
    --color-1: #F3E5DA;
    --blog-max-width: 920px;
}

html,
body {
    color-scheme: only light;
    font-family: nian_font, w_Nian, vazirmatn;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.fix {
    overflow: hidden;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-family: meshki_font, Meshki, vazirmatn;
    padding: 0;
    margin: 0;
}

h4,
h5,
h6 {
    font-family: nian_font, w_Nian, vazirmatn;
    font-weight: 700;
    padding: 0;
    margin: 0;
}

.overline {
    font-size: clamp(0.694rem, 0.579rem + 0.386vw, 0.868rem);
}

caption,
.caption {
    font-size: clamp(0.833rem, 0.694rem + 0.463vw, 1.042rem);
}

button,
.button {
    font-size: clamp(1rem, 0.833rem + 0.556vw, 1.25rem);
}

div,
.div {
    font-size: clamp(1rem, 0.833rem + 0.556vw, 1.25rem);
}

p,
.p {
    font-size: clamp(1rem, 0.833rem + 0.556vw, 1.25rem);
}

h6,
.h6 {
    font-size: clamp(1.2rem, 1rem + 0.667vw, 1.5rem);
}

h5,
.h5 {
    font-size: clamp(1.44rem, 1.2rem + 0.8vw, 1.8rem);
}

h4,
.h4 {
    font-size: clamp(1.728rem, 1.44rem + 0.96vw, 2.16rem);
}

h3,
.h3 {
    font-size: clamp(2.074rem, 1.728rem + 1.152vw, 2.592rem);
}

h2,
.h2 {
    font-size: clamp(2.488rem, 2.074rem + 1.382vw, 3.11rem);
}

h1,
.h1 {
    font-size: clamp(2.986rem, 2.488rem + 1.659vw, 3.732rem);
}

.xl {
    font-size: clamp(4.3rem, 3.583rem + 2.389vw, 5.375rem);
}

.xxl {
    font-size: clamp(6.192rem, 5.16rem + 3.44vw, 7.74rem);
}

.xxxl {
    font-size: clamp(8.916rem, 7.43rem + 4.953vw, 11.145rem);
}


.thin {
    font-weight: 100;
}

.regular {
    font-weight: 400;
}

.bold {
    font-weight: 700;
}

.black {
    font-weight: 1000;
}



.nian {
    font-family: nian_font, w_Nian, vazirmatn !important;
}

.meshki {
    font-family: meshki_font, Meshki, vazirmatn !important;
}

.lakeColor {
    fill: #B31E37;
}


mark {
    background-color: var(--color-1);
    color: black;
    padding: 0 4px;
}


.bg-color {
    background-color: var(--color-1) !important;
}


.bg-color mark {
    background-color: white;
}

::selection {
    background: black;
    color: white;
}

footer {
    direction: rtl;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 5%;
}

.copyright {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
    gap: 8px;
}

a {
    text-decoration: none;
    color: black
}

strong {
    font-weight: 1000;
}


.fix-logo {
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 800;
}

.section {
    border-bottom: 1px solid black;
    min-height: 100vh;

    display: flex;
    flex-direction: row;
}

.section-inner {
    box-sizing: border-box;

    width: 100%;
    height: 100%;
    padding: 50px 5vw;

    display: flex;
    flex-direction: column;
}

.section-right {
    direction: rtl;
    min-width: 50%;
    flex-grow: 1;
}

.section-right-left {
    direction: rtl;
    border-right: 1px solid black;
    min-width: 50%;
    max-width: 50%;
    flex-grow: 1;
}

.section-left {
    box-sizing: border-box;
    direction: rtl;
    /* background-color: #F3E5DA; */
    border-right: 1px solid black;
    min-width: 50%;
    max-width: 50%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamber {
    position: fixed;
    display: flex;
    top: 50px;
    right: 5%;
    display: none;
    z-index: 900;
}


#open-menu {
    z-index: 910;
    display: none;
}

#menu-mobile {
    display: none;
}

.navbar {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.nav-item {
    width: 90px;

    font-weight: 700;
    padding: 10px 20px;
    margin: -10px -20px;
}

.nav-item:hover {
    font-weight: 1000;
    cursor: pointer;
}



.filler {
    flex-grow: 1;
}

.space40 {
    width: 40px;
    height: 40px;
}

.space10 {
    width: 10px;
    height: 10px;
}

.space20 {
    width: 20px;
    height: 20px;
}

.color {
    max-width: 40vw;
    width: 200px;

    margin-bottom: max(-25vw, -100px);
    margin-right: -3vw;
    transform: rotate(45deg);
    z-index: -1;
}

.color img {
    max-width: 100%;
}

.price-comp {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow: hidden;
}


.price {
    /* justify-content: center;  */
    display: flex;
    align-items: center;
    font-weight: 700;
    white-space: nowrap;
    /* flex-grow: 1; */
}

.includes {
    /* opacity: 0.8 */
    /* white-space: nowrap; */
    /* overflow: visible; */
    /* text-overflow: ellipsis; */
    flex-grow: 1;
    /* max-width: 150px; */
}

.hr {
    margin: 8px 0px;
    border-top: 1px solid #ddd;
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.list-no {
    font-weight: 1000;
    width: 20px;
}

.list-text {
    opacity: 1;
}


.button-comp,
.button-comp button {
    min-width: 150px;
    max-width: 150px;
}

.button-comp .w100 {
    width: 100%;
}

.h48 {
    height: 48px;
}

#addBtn,
#removeBtn {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
}

.start-state,
.other-state {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.start-state button {
    flex-grow: 1;
}

input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: black;
    color: black;
}

button {
    font-family: nian_font, w_Nian, vazirmatn;
    font-weight: 700;
    background-color: transparent;
    border-radius: 0;
    border: 2px solid black;
    padding: 4px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-text-fill-color: black;
}

button:disabled {
    background-color: #eee;
    border: 2px solid #ddd;
    color: #ddd;
    -webkit-text-fill-color: #ddd;
}


button:disabled:hover {
    background-color: #eee;
    border: 2px solid #ddd;
    -webkit-text-fill-color: #ddd;
    color: #ddd;
    cursor: auto;
}

button:hover {
    background-color: black;
    color: white;
    -webkit-text-fill-color: white;
    cursor: pointer;
}

.line {
    fill: none;
    stroke: black;
    stroke-width: 1;
}

.line2 {
    fill: none;
    stroke: black;
    stroke-width: 2;
}

button:hover .line2 {
    stroke: white;

}


.hide {
    display: none;
}





.tea {
    width: 50%;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply !important;
}



.tea2 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.tea3 {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.tea4 {
    width: 80%;
    height: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.moveup {
    box-sizing: border-box;
    position: fixed;
    bottom: 36px;
    left: 36px;
    background-color: transparent;
    border-radius: 0;
    border: 1px solid black;
    padding: 6px;
    height: 36px;
    width: 36px;
}

.moveup:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}

.moveup:hover .line {
    stroke: white;
}

.pcard {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.pcard-image {
    min-width: 100px;
    width: 100px;
    height: 100px;
}

.pcard-image img {
    width: 100%;
    height: 100%;
}

.pcard-desc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    height: 100px;
    justify-content: center;
    overflow: hidden;
}

.pcard-info {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-grow: 1;
    /* overflow: scroll; */
}

.pcard-btn {
    min-width: 200px;
    margin-top: 20px;
}

.count {
    font-weight: 700;
    /* padding-top: 3px; */
}


input,
textarea {
    font-family: nian_font, w_Nian, vazirmatn;
    background-color: transparent;
    border: #999 1px solid;
    /* height: 36px; */
    padding: 6px 12px;
}

textarea {
    resize: none;
    height: 100px;
}

form {
    margin-top: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row-col {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

#submit_order,
#submit_comment {
    min-width: 150px;
}

form .row-col .input {
    width: 100%;
}

.input {
    display: flex;
    flex-direction: column;
}

.input .err {
    min-height: 16px;
}

.err .err {
    font-size: 50%;
    font-weight: 700;
    color: red;
    display: none;
}

.invalid {
    border-color: red;
}

ul {
    padding-inline-start: 12px;
}

li {
    margin-bottom: 8px;
}

.modal-overlay {
    direction: rtl;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: start;
    /* align-items: center; */
    z-index: 1000;
    overflow: scroll;
    /* Ensure it appears above other elements */
}

/* Modal Content */
.modal {
    background: #fff;
    /* White background for the modal */
    /* padding: 20px; */
    /* border-radius: 8px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 500px;
    box-sizing: border-box;
    margin: 32px 0px;
    /* max-height: 100%; */
}

.modal-content {
    /* margin: 16px; */
    padding: 32px;
    /* border: 2px solid black; */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-right-left .section-inner {
    gap: 24px
}


.not_published {
    direction: rtl;
    background-color: red;
    color: white;
}

.not_published .cont {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: var(--blog-max-width);
    margin: 0 auto;
}

.container {
    direction: rtl;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 1px solid black;
}

.blog-title-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 30vh;
    padding: 32px 0;
    max-width: var(--blog-max-width);
    width: 100%;
    margin: 0 auto;
}


.blog-title-container h1,
.blog-title-container small,
.blog-title-container .logo {
    padding: 0 16px;
}


.blog-title-container .logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    padding: 32px 0;
    min-height: 50vh;
    max-width: var(--blog-max-width);
    width: 100%;
    margin: 0 auto;
    gap: 16px;
}

.blog-post {
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

.blog-post a {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 0 16px;
}


.blog-post a .post-content h2 {
    background-image: linear-gradient(to left, transparent 50%, var(--color-1) 50%);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease;
}


.blog-post a:hover .post-content h2 {
    background-position: left bottom;
}

.blog-post .post-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-image {
    min-height: 100px;
    aspect-ratio: 1.6/1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-1);
}


.post-title {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50vh;
    padding: 24px 0;
    max-width: var(--blog-max-width);
    width: 100%;
    margin: 0 auto;
}


.title-container .logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


.title-container h1,
.title-container small,
.title-container .logo {
    padding: 0 16px;
}

.md-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    padding-top: 16px;
    padding-bottom: 120px;

    max-width: var(--blog-max-width);
    width: 100%;
    margin: 0 auto;
}



.md h6 {
    font-size: clamp(1.1rem, 0.917rem + 0.611vw, 1.375rem);
}

.md h5 {
    font-size: clamp(1.21rem, 1.008rem + 0.672vw, 1.513rem);
}

.md h4 {
    font-size: clamp(1.331rem, 1.109rem + 0.739vw, 1.664rem);
}

.md h3 {
    font-size: clamp(1.464rem, 1.22rem + 0.813vw, 1.83rem);
}

.md h2 {
    font-size: clamp(1.611rem, 1.342rem + 0.895vw, 2.013rem);
}

.md h1 {
    font-size: clamp(1.772rem, 1.476rem + 0.984vw, 2.214rem);
}

.md-container h1,
.md-container h2,
.md-container h3,
.md-container h4,
.md-container h5,
.md-container h6,
.md-container p {
    padding: 0 16px;
    margin: 0;
}


.md-container h1,
.md-container h2,
.md-container h3 {
    margin-top: 16px;
}



.md-container ul,
.md-container ol {
    padding: 0 32px;
}

.md-container p:has(img) {
    padding: 0;
}

.md-container img {
    width: 100%;
    height: auto;
}


@media only screen and (max-width: 1200px) {
    .pcard-info {
        flex-direction: column;
        gap: 4px;
    }

    /* .pcard-desc .price-comp .includes {
        display: none;
    } */

    .pcard-desc {
        height: auto;
    }

    .pcard-btn {
        margin-top: 0px;
    }
}

.hide-in-desk {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .blog-post a {
        flex-direction: column;
    }

    .tea {
        width: 80%;
        height: 80%;
    }

    .section-right-left .section-inner {
        padding-top: 0;
    }

    #mockup-text {
        padding-top: 0 !important;
    }

    #comment-section .section-right .section-inner {
        padding-bottom: 0;
    }

    .modal-overlay {
        align-items: start;
    }


    .pcard-info {
        flex-direction: row;
        gap: 16px;
    }

    .pcard-btn {
        margin-top: 20px;
    }

    /* .pcard-desc .price-comp .includes {
        display: initial;
    } */
    .row-col {
        flex-direction: column;
        gap: 8px;
    }

    .hide-in-desk {
        display: block;
    }

    .hamber {
        display: block;
    }

    #menu {
        display: none;
    }

    #open-menu {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        /* display: none; */
        background-color: white;
        /* opacity: 0.3; */
    }

    .navbar {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .navbar a {
        width: 90%;
        justify-content: center;
        align-items: center;
    }

    .nav-item {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
    }


    .section {
        flex-wrap: wrap;
        min-height: 90vh;
    }

    .section-twotext {
        border: 0px;
    }

    .section-left {
        border-bottom: 1px solid black;
        border-right: none;

        min-height: 50vh;
        /* max-height: 50vh; */

        max-width: 100%;
        min-width: 100%;
    }

}



@media only screen and (max-width: 500px) {
    .modal-content {
        margin: 4px;
        padding: 16px;
        /* border: 2px solid black; */
    }


    .pcard-info {
        flex-direction: column;
        gap: 4px;
    }

    /* .pcard-desc .price-comp .includes {
        display: none;
    } */

    .pcard-desc {
        height: auto;
    }

    .pcard-btn {
        margin-top: 0px;
    }
}