/*
Theme Name: YESHIL DASHBOARD
Author: Ahmad Esmaeili
Version: 1.0
*/
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 900;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Black.eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Black.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Black.woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Black.woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Black.ttf") format("truetype");
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: bold;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Bold.eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Bold.ttf") format("truetype");
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 500;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Medium.eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Medium.ttf") format("truetype");
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 300;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Light.eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Light.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Light.woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Light.woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Light.ttf") format("truetype");
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 200;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_UltraLight.eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_UltraLight.woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_UltraLight.ttf") format("truetype");
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: normal;
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum).eot");
    src: url("assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum).eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum).woff2") format("woff2"), url("assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum).woff") format("woff"), url("assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum).ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Black.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Black.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb_Black.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb_Black.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb_Black.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Bold.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Bold.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb_Bold.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb_Bold.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb_Bold.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Medium.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Medium.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb_Medium.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb_Medium.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Light.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb_Light.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb_Light.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb_Light.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb_Light.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url("assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb_UltraLight.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url("assets/fonts/iransans/eot/IRANSansWeb.eot");
    src: url("assets/fonts/iransans/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"), url("assets/fonts/iransans/woff2/IRANSansWeb.woff2") format("woff2"), url("assets/fonts/iransans/woff/IRANSansWeb.woff") format("woff"), url("assets/fonts/iransans/ttf/IRANSansWeb.ttf") format("truetype");
}
body,
html {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: IRANSansfanum !important;
}

a {
    text-decoration: none;

}
.mt-25 {
    margin-top: 25px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-100 {
    margin-bottom: 100px;
}

.pt-25 {
    padding-top: 25px;
}

.pt-50 {
    padding-top: 50px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pb-100 {
    padding-bottom: 100px;
}

.menu-nav {
    background-color: rgba(142, 142, 144, 0.2);
    border-radius: 50px;
    padding: 20px;
}

.sidebar.collapsed .link-text {
    display: none;
}

.sidebar.collapsed .sidebar-link {
    justify-content: center;
}

.sidebar-link img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.main-content {
    background-color: #F6F6F4;
}

.new-product-header span {
    color: #4A4A50;
    font-weight: bold;
    font-size: 20px;
}

.card-img {
    max-height: 290px;
}

.card-category {
    color: #4A4A50;
}

.about-us-header span {
    color: #4A4A50;
    font-weight: bold;
    font-size: 20px;
}

.bg-footer {
    background-color: rgba(142, 142, 144, 0.2);
}

.footer-header-title {
    border-bottom: 3px solid;
    color: #4A4A50;
    width: 120px;
    padding-bottom: 10px;
    font-size: 20px;
}

.footer-logo {
    max-width: 150px;
    max-height: 150px;
}

.footer-copy-right span {
    vertical-align: super;
}

.login-section {
    background: linear-gradient(to bottom, #8E8E90 20%, #4A4A50 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.login-section .login-container {
    width: 100%;
    max-width: 800px;
    height: 600px;
}
.login-section .login-container .login-row {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.login-section .login-container .login-row .login-col {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.login-section .login-logo {
    position: absolute;
    top: 20px;
    text-align: center;
    z-index: 10;
}
.login-section .login-logo .login-logo-img {
    max-width: 200px;
    height: auto;
}
.login-section .login-form-wrapper {
    background-size: cover;
    background-position: center;
    background-color: rgba(229, 229, 229, 0.2);
    padding: 2rem;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 650px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login-section .login-form-wrapper .login-form {
    width: 100%;
    max-width: 400px;
}
.login-section .login-form-wrapper .login-form .login-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}
.login-section .login-form-wrapper .login-form .login-input-group {
    margin-bottom: 1rem;
}
.login-section .login-form-wrapper .login-form .login-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}
.login-section .login-form-wrapper .login-form .login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.login-section .login-form-wrapper .login-form .login-input:focus {
    outline: 0;
    border-color: #ced4da;
    box-shadow: none;
}
.login-section .login-form-wrapper .login-form .login-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #212529;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
.login-section .login-form-wrapper .login-form .login-btn:hover {
    background-color: #444;
}

.bg-login {
    background-image: url("../img/login-bg.png");
    position: absolute;
    top: 50px;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: block;
}
@media (max-width: 991.98px) {
    .bg-login {
        display: none;
    }
}

:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
    --sidebar-bg: #4A4A50;
}

/* ---------------- Sidebar ---------------- */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    transition: width 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-radius: 10px;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #a0a3bd;
    padding: 15px;
    margin: 4px 16px;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-link i {
    margin-left: 12px;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Logo Text */
.logo-text {
    background: linear-gradient(45deg, #6b8cff, #8b9fff);
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.collapsed .hide-on-collapse,
.collapsed .logo-text,
.collapsed .profile-info {
    opacity: 0;
    visibility: hidden;
}

.collapsed .sidebar-link {
    padding: 1rem !important;
    margin: 4px 8px;
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}

/* Profile Section */
.profile-section {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.profile-info {
    margin-right: 12px;
    transition: opacity 0.3s ease;
}

/* Toggle Button */
.toggle-btn {
    position: absolute;
    left: -15px;
    top: 35px;
    width: 30px;
    height: 30px;
    background: var(--sidebar-bg);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.sidebar.collapsed .toggle-btn {
    transform: rotate(180deg);
}

/* ---------------- Main Content ---------------- */
.main-content {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 20px;
    transition: margin 0.3s ease;
}

.sidebar.collapsed ~ .main-content {
    margin-right: var(--sidebar-width-collapsed);
}

.sidebar:not(.collapsed) ~ .main-content {
    margin-right: var(--sidebar-width);
}

.dropdown-toggle-custom {
    background-color: transparent;
    border: none;
}

.user-welcome {
    color: #4A4A50;
    font-weight: bold;
}

.dropdown-toggle::after {
    content: url("../img/chevron-down.png");
    border: none;
    vertical-align: sub;
}

.search-container {
    position: relative;
}

.search-input {
    height: 50px;
    border-radius: 30px;
    padding-left: 35px;
    border: none;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
}

.search-input-custom {
    border: 1px solid #8E8E90;
}
.search-input-custom:active {
    box-shadow: unset !important;
    border: 1px solid #4A4A50;
}

.form-control:focus {
    box-shadow: unset !important;
    border: 1px solid #4A4A50;
}

.wcohc-wrap {
    max-width: 980px;
    margin: 20px auto;
    font-family: Tahoma, sans-serif;
}
.wcohc-wrap .wcohc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.wcohc-wrap .wcohc-header .wcohc-prev,
.wcohc-wrap .wcohc-header .wcohc-next {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
}
.wcohc-wrap .wcohc-header .wcohc-year {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.wcohc-wrap .wcohc-header .wcohc-title {
    margin-left: auto;
    font-size: 14px;
    color: #333;
}
.wcohc-wrap .wcohc-chart-card {
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.wcohc-wrap .wcohc-legend {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: #666;
}
.wcohc-wrap .wcohc-legend .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.wcohc-wrap .wcohc-legend .dot.current {
    background: #22232b;
}
.wcohc-wrap .wcohc-legend .dot.next {
    background: #9fa6b0;
}

.section-head {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px; /* فاصله متن از خطوط */
}

.section-head::before,
.section-head::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #4A4A50;
}

.section-head::before {
    right: 100%;
}

.section-head::after {
    left: 100%;
}

.cat-caption {
    color: #fff;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.new-product-slider-wrapper {
    position: relative;
}
.new-product-slider-wrapper .product-card {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}
.new-product-slider-wrapper .product-card img {
    width: 100%;
    height: 230px;
    -o-object-fit: cover;
    object-fit: cover;
}
.new-product-slider-wrapper .product-card h3 {
    font-size: 18px;
    color: #333;
}
.new-product-slider-wrapper .product-card p {
    margin-top: 5px;
    font-size: 16px;
    color: #666;
}
.new-product-slider-wrapper .owl-nav button {
    position: absolute;
    top: 40%;
    background: #efefef !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}
.new-product-slider-wrapper .owl-nav button span {
    font-size: 30px;
    line-height: 35px;
}
.new-product-slider-wrapper .owl-nav .owl-prev {
    right: 100%;
    margin-right: -20px;
}
.new-product-slider-wrapper .owl-nav .owl-next {
    left: 100%;
    margin-left: -20px;
}

.slider-caption {
    padding: 15px;
    background-color: rgba(142, 142, 144, 0.2);
}

.filter-head {
    font-size: 16px;
    text-align: center;
}

.cat-items {
    color: #4A4A50;
}

/* Filter Section */
.products-filters {
    align-items: center;
}
.products-filters select.form-select {
    border-radius: 8px;
    padding: 8px 50px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}
.products-filters select.form-select:focus {
    outline: none;
    border-color: #22232b;
}
.products-filters .filter-availability .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.products-filters .filter-availability .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.products-filters .filter-availability .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}
.products-filters .filter-availability .switch .slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
.products-filters .filter-availability .switch input:checked + .slider {
    background-color: #76EE59;
}
.products-filters .filter-availability .switch input:checked + .slider::before {
    transform: translateX(26px);
}
.products-filters .filter-availability span {
    font-size: 14px;
    color: #333;
}
.products-filters .filter-search {
    position: relative;
}
.products-filters .filter-search input.search-input {
    padding-left: 35px;
    border-radius: 8px;
    border: 1px solid #ccc;
    height: 38px;
}
.products-filters .filter-search input.search-input:focus {
    outline: none;
    border-color: #22232b;
}
.products-filters .filter-search .search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #888;
}

.filter-price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-price span.filter-label {
    white-space: nowrap;
    font-size: 14px;
    color: #333;
}
.filter-price select.form-select {
    border-radius: 8px;
    padding: 8px 50px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}
.filter-price select.form-select:focus {
    outline: none;
    border-color: #22232b;
}

.product-card {
    width: 250px;
    border-radius: 18px;
    overflow: hidden;
}
.product-card .product-image-wrapper {
    position: relative;
    /* ===== Quantity Box (بالا سمت راست) ===== */
    /* ===== Overlay (پایین تصویر) ===== */
}
.product-card .product-image-wrapper img {
    border-radius: 18px;
    width: 100%;
    height: auto;
}
.product-card .product-image-wrapper .qty-box {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 20;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 9px 10px;
    border-radius: 0 5px 0 0;
}
.product-card .product-image-wrapper .qty-box .qty-btn {
    background: transparent;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.product-card .product-image-wrapper .qty-box .qty-value {
    color: #fff;
    margin: 0 8px;
    font-size: 15px;
    font-weight: 600;
}
.product-card .product-image-wrapper .product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(74, 74, 80, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 0 0;
    z-index: 10;
}
.product-card .product-image-wrapper .product-overlay .btn-overlay {
    background: transparent;
    border: none;
    font-size: 14px;
    padding-right: 80px;
    color: #fff;
    width: 100%;
    text-align: center;
    cursor: pointer;
}
.product-card .product-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-top: 10px;
}
.product-card .product-price {
    font-size: 14px;
    color: #444;
}

.card-body-bg {
    background-color: rgba(142, 142, 144, 0.2);
}

.page-link-bg {
    background-color: #4A4A50;
    color: #fff;
    border: none;
    border-radius: 10px;
}

.page-link-custom {
    background-color: transparent;
    color: #4A4A50;
    border: none;
}

.order-wrapper {
    background-color: rgba(142, 142, 144, 0.2);
    border: 1px solid #4A4A50;
    border-radius: 10px;
}

.card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.card-body {
    background: #ffffff;
}

hr {
    opacity: 0.15;
    margin: 1.5rem 0;
}

.btn-outline-primary {
    border-radius: 0.75rem;
    font-weight: 500;
}
.btn-outline-primary:hover {
    background: #0d6efd;
    color: white;
}

.bi-check-circle-fill {
    font-size: 1.4rem;
}

.small, small {
    font-size: 0.85rem;
}

.text-success {
    color: #198754 !important;
}

.check-order-status {
    border: 1px solid #4A4A50;
    border-radius: 10px;
    padding: 15px;
}

.card-body-custom {
    border: 1px solid #4A4A50;
    border-radius: 17px;
}

.btn-order {
    color: #4A4A50;
    background-color: rgba(142, 142, 144, 0.2);
    padding: 10px;
    border: 1px solid #4A4A50;
}

.product-filters {
    direction: rtl;
}
.product-filters .filter-label {
    white-space: nowrap;
    font-size: 14px;
    margin: 0;
    color: #333;
}
.product-filters .custom-select-filter {
    border-radius: 15px;
    padding: 8px 10px;
    border: 1px solid #bfbfbf;
}
.product-filters .custom-select-filter:focus {
    border-color: #7a7a7a;
    box-shadow: none;
}
.product-filters .search-box .custom-search-input {
    border-radius: 15px;
    height: 42px;
    border: 1px solid #bfbfbf;
}
.product-filters .search-box .custom-search-input:focus {
    border-color: #7a7a7a;
    box-shadow: none;
}
.product-filters .search-box .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #7a7a7a;
}
.product-filters .custom-switch {
    width: 50px;
    height: 26px;
    background-color: #59e35b;
    border-radius: 50px;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
}
.product-filters .custom-switch::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    left: 26px;
    transition: all 0.25s ease;
}
.product-filters .custom-switch:checked {
    background-color: #4A4A50 !important;
}
.product-filters .custom-switch:checked::before {
    left: 2px;
}

.btn-produc-list {
    background-color: #4A4A50;
    border-radius: 10px;
    padding: 10px;
    color: #fff;
}

.catalog-list {
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    border: 1px solid #dadada;
}

.catalog-header {
    background: #f7f7f7;
    padding: 18px 10px;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid #e1e1e1;
}
.catalog-header .catalog-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.catalog-row {
    padding: 18px 10px;
    border-bottom: 1px solid #e9e9e9;
    font-size: 14px;
    background-color: rgba(142, 142, 144, 0.2);
}
.catalog-row .catalog-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.catalog-row .product-name {
    color: #4a4a4a;
}
.catalog-row .product-price {
    color: #333;
    font-weight: 500;
}

.profile-container {
    direction: rtl;
    max-width: 1100px;
    background-color: #E1E1E0;
}
.profile-container .btn {
    border-radius: 8px;
    font-size: 14px;
}
.profile-container .profile-pic .profile-img {
    width: 130px;
    height: 130px;
    -o-object-fit: cover;
    object-fit: cover;
}
.profile-container .profile-pic .camera-icon {
    bottom: 0;
    left: 0;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.profile-container form {
    background: transparent;
}
.profile-container form label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.profile-container form input,
.profile-container form textarea {
    border-radius: 10px !important;
    padding: 10px 14px;
    border: 1px solid #cfcfcf;
}
.profile-container form input:focus,
.profile-container form textarea:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
}

.profile-img-camera-icon {
    width: 35px;
}

.profile-btn {
    background-color: #4A4A50;
    color: #fff;
}

.page-cart-wrapper {
    background-color: #F6F6F4;
    min-height: 100vh;
}

.checkout-wrapper {
    /* استایل جدول سبد خرید (ساخته شده با div) */
    /* باکس خلاصه خرید */
    /* ریسپانسیو */
}
.checkout-wrapper .cart-table {
    border: 2px solid #d0d0d0;
    border-radius: 14px;
    padding: 25px;
    background-color: transparent;
    /* هدر دسکتاپ */
    /* ردیف‌های آیتم‌ها */
    /* بخش کد تخفیف */
}
.checkout-wrapper .cart-table .cart-header {
    font-weight: 600;
    font-size: 15px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
}
.checkout-wrapper .cart-table .cart-header .cart-col {
    color: #555;
}
.checkout-wrapper .cart-table .cart-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #4A4A50;
    font-size: 14px;
}
.checkout-wrapper .cart-table .cart-row:last-child {
    border-bottom: none;
}
.checkout-wrapper .cart-table .cart-row .cart-col {
    flex: 1;
    padding: 0 8px;
    word-break: break-word;
}
.checkout-wrapper .cart-table .cart-row .cart-col:first-child {
    flex: 2;
}
.checkout-wrapper .cart-table .discount-input {
    width: 220px;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #bdbdbd;
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.2s;
}
.checkout-wrapper .cart-table .discount-input:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 0.15rem rgba(108, 99, 255, 0.25);
}
.checkout-wrapper .cart-table .btn-outline-dark {
    border-radius: 10px;
    font-size: 14px;
    padding: 10px 25px;
    white-space: nowrap;
}
.checkout-wrapper .summary-box {
    border: 2px solid #d2d2d2;
    background: transparent;
    border-radius: 14px;
    padding: 24px;
}
.checkout-wrapper .summary-box h6 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}
.checkout-wrapper .summary-box .d-flex span {
    font-size: 14px;
}
.checkout-wrapper .summary-box .fw-bold span {
    font-size: 16px;
    color: #222;
}
.checkout-wrapper .summary-box button {
    border-radius: 10px;
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    margin-top: 10px;
}
@media (max-width: 991px) {
    .checkout-wrapper .summary-box {
        margin-top: 30px;
    }
    .checkout-wrapper .cart-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 20px 0;
    }
    .checkout-wrapper .cart-row .cart-col {
        width: 100%;
        padding: 0;
    }
    .checkout-wrapper .cart-row .cart-col:first-child {
        flex: none;
        font-weight: 600;
        font-size: 15px;
    }
    .checkout-wrapper .cart-row .cart-col:nth-child(2) {
        order: 4;
    }
    .checkout-wrapper .cart-row .cart-col:nth-child(3) {
        order: 3;
        font-weight: 500;
    }
    .checkout-wrapper .cart-row .cart-col:nth-child(4) {
        order: 2;
        font-weight: 600;
        color: #e91e63;
    }
    .checkout-wrapper .cart-header {
        display: none !important;
    }
}
@media (max-width: 576px) {
    .checkout-wrapper .cart-table {
        padding: 15px;
    }
    .checkout-wrapper .discount-input {
        width: 100%;
        margin-bottom: 10px;
    }
    .checkout-wrapper .btn-outline-dark {
        width: 100%;
    }
}

.product-gallery img {
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.product-gallery img:hover {
    transform: scale(1.05);
}

.thumbs img {
    width: 100px;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

.thumbs img.active-thumb {
    border-color: #000;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #4A4A50;
    border-radius: 8px;
    overflow: hidden;
    width: -moz-fit-content;
    width: fit-content;
    background: #fff;
}
.qty-wrapper button {
    width: 40px;
    height: 40px;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.qty-wrapper button:hover {
    background: #f2f2f2;
}
.qty-wrapper #qtyMinus {
    border-left: 1px solid #4A4A50;
}
.qty-wrapper #qtyPlus {
    border-right: 1px solid #4A4A50;
}
.qty-wrapper input {
    width: 55px;
    height: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 18px;
}

.btn-add-to-cart {
    background-color: #4A4A50;
    color: #fff;
}

.back-to-product button {
    border: 1px solid #4A4A50;
}

.single-product-price {
    border: 1px solid #4A4A50;
    padding: 10px;
    border-radius: 10px;
}/*# sourceMappingURL=style.css.map */

.product-wrapper .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* فاصله بین کارت‌ها */
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* کارت تمام ارتفاع ستون رو بگیره */
}

.product-card .card-body {
    flex-grow: 1; /* فضای باقیمانده رو پر می‌کنه */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* عنوان و قیمت فاصله بخوره */
}
