/* arabic */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Iurf6YBj_oCad4k1l5qjHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Iurf6YBj_oCad4k1l5qjHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* arabic */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Iura6YBj_oCad4k1nzSBC45I.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Iura6YBj_oCad4k1nzGBCw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* arabic */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Iurf6YBj_oCad4k1l4qkHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Iurf6YBj_oCad4k1l4qkHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --brand: #f05a28;
    --muted: #6c757d;
    --card-shadow: 0 6px 18px rgba(18, 18, 18, 0.06);
}

html,
body {
    font-family: "Tajawal", "Vazir", sans-serif;
    background: #f8f9fa;
    color: #222;
}

.brand img {
    padding-top: 5px;
    padding-bottom: 5px;
    max-height: inherit;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 800px;
    max-width: 168px;
}

/* search fix */
.search-input {
    border-radius: 0 40px 40px 0 !important;
    box-shadow: none;
}

.input-group .btn {
    border-radius: 40px 0 0 40px !important;
}

/* hero */
.hero {
    background: linear-gradient(90deg, rgba(240, 90, 40, 0.06), rgba(240, 90, 40, 0.02));
    padding: 36px 0;
}

.hero-card {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
}

/* نسبت تصویر Hero */
.hero-img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.offer-img {
    width: 90px;
    /* اندازه تصویر */
    height: 90px;
    object-fit: cover;
    /* تصویر داخل کادر */
    border-radius: 12px;
    /* گوشه‌های گرد */
}

.small-offer-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.small-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



/* ریسپانسیو */
@media (max-width: 992px) {
    .hero-img {
        max-height: 200px;
    }
}

/* product card */
.swiper {
    padding: 20px 0;
}

.swiper-slide {
    width: 300px !important;
    /* عرض واقعی هر کارت */
    display: flex;
    justify-content: center;
}

.product-card {
    width: 100%;
    /* کارت 100% داخل اسلاید */
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 18, 18, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(18, 18, 18, 0.08);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* footer */
.site-footer {
    background: #0f1724;
    color: #cbd5e1;
    padding: 36px 0;
    margin-top: 48px;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.navbar-nav .btn {
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar-nav .btn:hover {
    background-color: #e6953b;
    color: #fff;
}

.navbar-nav .nav-item {
    margin-left: 12px;
}

/* آیکون آدمک و لینک ها */
.navbar-nav .nav-item i {
    color: #6c757d;
}

.navbar-nav .nav-item i:hover {
    color: var(--brand);
}

.mainnav .nav-item.dropdown>a {
    background: #fed100;
    color: #000;
    padding: 15px 20px;
    border-radius: 2px;
    transition: background 0.3s;
}

.mainnav .nav-item.dropdown>a:hover {
    background: #a58700;
}

/* مگامنو */
.navbar .dropdown-menu.mega-menu {
    right: 0;
    left: auto;
    border-radius: 12px;
    width: 1150px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    display: none;
    /* پیش‌فرض مخفی */
    position: absolute;
    top: 100%;
    z-index: 1000;
    background: #fff;
}

/* نمایش مگامنو روی هاور */
.navbar-nav .nav-item.dropdown:hover .mega-menu {
    display: block;
}

/* راست‌چین کردن محتوا */
.navbar .dropdown-menu.mega-menu .row {
    gap: 16px;
    text-align: right;
}

.navbar .dropdown-menu.mega-menu .col-4 h6 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--brand);
}

.navbar .dropdown-menu.mega-menu .dropdown-item {
    padding: 6px 0;
    font-size: 14px;
    color: #222;
    transition: color 0.2s;
}

.navbar .dropdown-menu.mega-menu .dropdown-item:hover {
    color: var(--brand);
    background: none;
}

.brand-card {
    /* background: #fff; */
    border-radius: 12px;
    padding: 15px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    max-height: 60px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-logo {
    filter: grayscale(0) brightness(1.1);
}


.site-footer {
    background: #212529;
    /* رنگ فوتر و نوار ویژگی‌ها یکسان */
}

.feature-item i {
    display: block;
    color: #000000;
    /* آیکون طلایی */
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
    color: #cbec11;
    /* سفید روی هاور */
}

.site-footer a {
    color: #adb5bd;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* Shop */
.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 80px;
}

.filter-sidebar h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.pagination .page-link {
    border-radius: 50% !important;
    margin: 0 3px;
}


@media (max-width: 991px) {
    .navbar .dropdown-menu.mega-menu {
        width: 100%;
        right: 0;
        left: 0;
        border-radius: 0;
        padding: 16px;
    }
}

/*--- Simulation ---*/
.panel {
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 14px;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 6px 22px rgba(18, 38, 63, 0.06)
}

.toolbar {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center
}

.toolbar .form-control,
.toolbar .form-range {
    min-width: 140px
}

.canvas-wrap {
    max-width: 1000px;
    margin: 18px auto;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6e9ee;
    box-shadow: 0 6px 18px rgba(20, 20, 40, 0.04);
    text-align: center
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd
}

#hint {
    color: var(--muted);
    font-size: 14px;
    margin-top: 10px
}

.small-muted {
    font-size: 13px;
    color: var(--muted)
}

.btn-compact {
    padding: .45rem .85rem
}

@media (max-width:767px) {
    .product-img {
        height: 160px;
    }

     .brand img {
        max-width: 100px;
    }
}

@media (max-width: 991.98px) {

}
