/* ExtraBold */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansXFaNum-ExtraBold.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-ExtraBold.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansXFaNum-Regular.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansXFaNum-Medium.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansXFaNum-Bold.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: "IRANSans", sans-serif;
    font-weight: 400; /* Regular by default */
    direction: rtl;
}


.thin {
    font-weight: 100;
}

.regular {
    font-weight: 400;
}

.medium {
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

.main-font {
    font-family: "IRANSans", sans-serif !important;
    font-weight: 500 !important;
}

.text-brand {
    --tw-text-opacity: 1;
    color: rgb(207 27 26 / var(--tw-text-opacity, 1));
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.tab-button {
    border-color: transparent;
    color: #6b7280;
}

.tab-button:hover {
    color: #374151;
    border-color: #d1d5db;
}

.tab-button.active {
    border-color: var(--brand-color, #ef4444);
    color: var(--brand-color, #ef4444);
}

.food-category-card {
    transition: opacity 0.3s ease-in-out;
}

.big-button {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#cart-count-badge {
    padding-top: 5px;
}

/* Loading spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


#locationMap {
    height: 24rem; /* 96 in h-96 */
    width: 100%;
}