/* 
Theme Name : Hoonaam
Theme URL : https://coffe-world.com
Author : mahan-tech.ir
Version : 1

*/
:root {
    --primary-color: snow;
    --header-color: #ffba0038;
    --hover-color: #efc996;
    --gold-color: #f3c623bf;
    --btn-color: #FFCF95;
    --dark-text-colors: black;
    --light-text-colors: white;
    --gold-text-shadow: -1px 0px 14px var(--gold-color);
    --div-box-shadow: 1px 1px 20px 8px wheat;
    --product-box-shadow: 0px 0px 17px 4px var(--gold-color);
    --box-color: antiquewhite;
}

p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6,
address {
    color: var(--dark-text-colors);
    direction: rtl;
}

img {
    width: 100% !important;
    height: 100% !important;
}

button a {
    font-size: 20px;
}

/* normalize */
body {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    background-color: var(--primary-color);
    /* direction: ltr; */
    background-image: url(./main-images/Base.webp);
    background-attachment: fixed;
    background-size: cover;
}

a {
    text-decoration: none;
    color: var(--light-text-colors);
    text-shadow: var(--gold-text-shadow);
}

li {
    list-style: none;

}

button:hover {
    transform: scale(1.1);
}

button a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="radio"] {
    accent-color: var(--hover-color);
}

/* FONTS */

/* thin */
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir-Thin.woff2') format("woff2"), url('/fonts/Vazir-Thin.woff') format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* light */
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir-Light.woff2') format("woff2"), url('/fonts/Vazir-Light.woff') format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* medium */
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir-Medium.woff2') format("woff2"), url('/fonts/Vazir-Medium.woff') format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* regular */
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir.woff2') format("woff2"), url('/fonts/Vazir.woff') format("woff");
    font-display: swap;

}

/* bold */
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir-Bold.woff2') format("woff2"), url('/fonts/Vazir-Bold.woff') format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* styles */

body {
    font-family: 'vazir';
}

button,
input,
select,
textarea {
    font-family: inherit;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

address {
    text-align: justify;
}

p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-word;
}

button {
    width: 175px;
    height: 35px;
    background-color: var(--btn-color);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.5s 0.1s linear, box-shadow 0.1s 0s linear;
}

button:active {
    /* background-color: red; */
    box-shadow: 1px 1px 10px 10px var(--btn-color);
}

button a {
    font-size: 18px;
}



/* woocommerce messages */


.wc-empty-cart-message {
    display: none;
}

.woocommerce-message {
    background-color: #ffffff00 !important;
    border-top-color: var(--hover-color) !important;
    background: radial-gradient(var(--hover-color), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: var(--text-colors) !important;
    min-height: 70px;
    width: 100% !important;
    margin: 25px 0px 60px 0px !important;
}


.woocommerce-message:focus-visible {
    outline: 0px !important;
}

.woocommerce-message:focus-visible {
    border: none !important;
}

.woocommerce-error {
    background-color: #ffffff00 !important;
    border-top-color: var(--hover-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(#b81c23, transparent) !important;
    flex-direction: column;
    gap: 10px;
    min-height: 70px;
}

.woocommerce-message .button,
.woocommerce-error .button {
    background-color: var(--hover-color) !important;
    color: var(--text-colors) !important;
    border-radius: 20px !important;
}

.woocommerce-message::before,
.woocommerce-error::before {
    content: "" !important;
    width: 50px;
    height: 50px;
    background-image: url(./svg/woocommerce-message.svg);
    color: var(--hover-color) !important;
}

input::placeholder {
    color: black;
    opacity: 1 !important;
    transition: opacity 1s 0.1s ease !important;
}

/* وقتی هاور میشه، placeholder محو میشه */
input:focus::placeholder {
    opacity: 0 !important;
}









main {
    margin-top:10vh !important;
}


/* Tablet */
@media (min-width:768px) {
    p {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* Desktop */
@media (min-width:1200px) {
    p {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* mobile */
@media (max-width:768px) {
    p {
        font-size: 17px;
        line-height: 1.7;
    }
}