/*
Theme Name: HavinWP
Theme URI: https://marktio.com
Author: Abolfazl
Author URI: https://marktio.com
Description: Havin WordPress Theme
Version: 1.0
Text Domain: havinwp
*/

/* ===================
   والد Flex هدر + ویدیو
=================== */
.hed-container {
    background-color: #f5e6ca;
    display: flex;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    font-family: sans-serif;
    max-width: 1280px;
    margin: 0 auto;
}

.video-box video {
    width:450px;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.hed {}

/* ===================
   منو و CTA
=================== */
.ul,
.ule {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.ul li a,
.ule li a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 18px;
    font-family: sans-serif;
    transition: color 0.3s;
    font-weight: bold;
}

.call,
.caall {
    background-color: #1a1a1a;
    padding: 10px 16px;
    border-radius: 6px;
    color: #c89b3c;
    font-weight: bold;
    font-size: 18px;
}

.call:hover,
.caall:hover {
    background-color: #c89b3c;
    color: #1a1a1a;
}

/* دکمه‌ها */
.dokme {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.dok1,
.dok2 {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.dok1 {
    background-color: #c89b3c;
    color: #1a1a1a;
}

.dok1:hover {
    background-color: #1a1a1a;
    color: #c89b3c;
}

.dok2 {
    border: 3.5px solid #1a1a1a;
    color: #1a1a1a;
    background: transparent;
}

.dok2:hover {
    background-color: #1a1a1a;
    color: #c89b3c;
}

/* ===================
   سکشن‌ها و اسلایدر
=================== */
.section3,
.seection3 {
    display: flex;
    flex-direction: column;
    background: #f5e6ca;
    overflow: hidden;
    position: relative;
    justify-content: center;
    padding: 40px 20px;
}

.title {
    text-align: center;
    font-size: 26px;
    color: #1a1a1a;
    margin-top: 20px;
}

.items-container,
.iteems-container {
    display: flex;
    gap: 28px;
    padding: 30px 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.items-container::-webkit-scrollbar,
.iteems-container::-webkit-scrollbar {
    display: none;
}

.item {
    background-color: #fff;
    min-width: 180px;
    flex-shrink: 0;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.item:hover {
    transform: scale(1.05);
}

.item img {
    width: 100%;
    height: 130px;
    border-radius: 14px 14px 0 0;
    object-fit: cover;
}

.item h3 {
    padding: 15px;
    font-size: 16px;
    color: #1a1a1a;
}

/* فلش‌ها وسط ارتفاع باکس */
.arrow-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none;
}

/* ===================
   پاپ‌آپ
=================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 800px;
    width: 90%;
    height: auto;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
}

.modal-body img {
    width: 45%;
    object-fit: cover;
    border: none;
    display: block;
}

.product-info {
    max-width: 45%;
    margin: 20px 0 0 30px;
}

.product-info h2 {
    font-size: 24px;
}

.product-info p {
    font-size: 18px;
    color: #555;
}

.price {
    font-size: 22px;
    color: #c89b3c;
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* ===================
   فوتر
=================== */
.foter {
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    gap: 30px;
    padding: 40px;
    flex-wrap: wrap;
}

.fot1,
.fot2,
.fot3 {
    flex: 1 1 100%;
    margin: 10px 0;
}

/* ===================
   Breadcrumb
=================== */
.cafe-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 23px;
    margin: 20px 0;
    color: #555;
    padding: 14px 0;
}

.cafe-breadcrumb a {
    font-weight: 500;
    text-decoration: none;
    color: #333;
    transition: color .2s ease;
}

.cafe-breadcrumb a:hover {
    color: #000;
}

.cafe-breadcrumb .divider {
    color: #aaa;
}

.cafe-breadcrumb .current {
    color: #888;
    font-weight: 400;
}

/* ===================
   تصاویر و محتوای داخلی
=================== */
.im,
.blagimg,
.imgmtn {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    margin: 20px auto 0 auto;
}


.clic,
.ab {
    width: 100%;
    text-align: center;
    margin: 20px auto 0 auto;
}

.fdf {
    font-size: 24px;
    line-height: 1.6;
    margin: 0 auto;
}

/* ===================
   Media Queries برای موبایل
=================== */
@media (max-width: 900px) {
    .hed-container {
        flex-direction: column;
        padding: 15px;
    }

    .dokme {
        flex-direction: column;
        align-items: stretch;
        margin-top: 20px;
    }

    .dok1,
    .dok2 {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .items-container,
    .iteems-container {
        gap: 16px;
        padding: 20px;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-body img,
    .product-info {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .foter {
        flex-direction: column;
        padding: 20px;
    }

    .fot1,
    .fot2,
    .fot3 {
        width: 100%;
        margin: 10px 0;
    }

    .cafe-breadcrumb {
        font-size: 18px;
    }
}
@media (max-width: 420px) {

    .foter {
        width: 100%;
        height: auto;
        margin: 0 20 0 -15;
    }

}