.active {
    background-color: black !important;
    color: white !important;
}


.product-card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    background: white;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}

.product-price {
    color: #d32f2f;
    font-size: 1.1em;
}

.product-card .product-title {
    font-size: 1.3em;
}

.add-btn {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-pane {
    background-color: rgba(255, 255, 255, 0) !important;
    font-size: 0.8em;
}

.wrapper {
    width: 100%;
    padding-top: 20px;
    text-align: center;
}

h2 {
    font-family: sans-serif;
    color: #fff;
}

.carousel {
    width: 90%;
    margin: 0px auto;
}

.slick-slide {
    margin: 10px;
}

.slick-slide img {
    width: 100%;
    border: 2px solid #fff;
}

.wrapper .slick-dots li button:before {
    font-size: 20px;
    color: white;
}

.slick-prev i,
.slick-next i {
    font-size: 24px;
    color: black;
}

.slick-prev::before,
.slick-next::before {
    display: none;
    /* حذف آیکون‌های پیش‌فرض */
}

.wrapper .carousel img {
    width: 40px;
    height: 40px;
}

.cart {
    height: fit-content;
}

.cart .items {
    min-height: 150px;

}

.cart .title {
    font-size: 1.2em;
}

.cart-container {
    max-width: 400px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-orange {
    background-color: #ff7300;
}

.restaurant-info {
    font-size: 18px;
    font-weight: bold;
    color: #d9534f;
}

.service-info {
    font-size: 18px;
    font-weight: bold;
    color: #ff7f00;
}

.active-sec {
    display: block !important;
}

.header {
    min-height: 300px !important;
    /* background-color: rgb(40, 41, 43); */
    /* background: linear-gradient(135deg, rgb(62, 40, 0), #1A1A40);
    color: red; */
    background-image: url('/images/header.png');
    display: flex;
    flex-direction: column;
    background-position: center top;
}

@media (max-width: 768px) {
    .header {
        background-size: contain;

        /* به جای cover تا کل تصویر دیده بشه */
        background-position: center top;
    }
}

.center {
    /* max-width: 800px !important; */
    position: relative;
    /* background: rgba(255, 0, 0, 0.3); */
    padding: 20px;
    box-shadow: 0 0 10px 20px rgba(255, 0, 0, 0.177);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    border: 1px solid orange;
}

.center .card img {
    height: 130px !important;
}

.hover-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hover-image {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.hover-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.hover-container:hover .hover-image {
    transform: scale(1.05);
}

.hover-container:hover::before {
    opacity: 0.7;
}

.hover-container:hover .hover-text {
    opacity: 1;
}