
@font-face {
  font-family: 'IRANSans-web';
  src: url(../font-farsi/IRANSans-Bold-web.eot);
  src: url(../font-farsi/IRANSans-Bold-web.eot?#iefix) format("eot"), url(../font-farsi/IRANSans-Bold-web.woff2) format("woff2"), url(../font-farsi/IRANSans-Bold-web.woff) format("woff"), url(../font-farsi/IRANSans-Bold-web.ttf) format("ttf");
  font-weight: 700;
  font-display: swap
}

@font-face {
  font-family: 'IRANSans-web';
  src: url(../font-farsi/IRANSans-Medium-web.eot);
  src: url(../font-farsi/IRANSans-Medium-web.eot?#iefix) format("eot"), url(../font-farsi/IRANSans-Medium-web.woff2) format("woff2"), url(../font-farsi/IRANSans-Medium-web.woff) format("woff"), url(../font-farsi/IRANSans-Medium-web.ttf) format("ttf");
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: 'IRANSans-web';
  src: url(../font-farsi/IRANSans-UltraLight-web.eot);
  src: url(../font-farsi/IRANSans-UltraLight-web.eot?#iefix) format("eot"), url(../font-farsi/IRANSans-UltraLight-web.woff2) format("woff2"), url(../font-farsi/IRANSans-UltraLight-web.woff) format("woff"), url(../font-farsi/IRANSans-UltraLight-web.ttf) format("ttf");
  font-weight: 200;
  font-display: swap
}

@font-face {
  font-family: 'IRANSans-web';
  src: url(../font-farsi/IRANSans-Light-web.eot);
  src: url(../font-farsi/IRANSans-Light-web.eot?#iefix) format("eot"), url(../font-farsi/IRANSans-Light-web.woff2) format("woff2"), url(../font-farsi/IRANSans-Light-web.woff) format("woff"), url(../font-farsi/IRANSans-Light-web.ttf) format("ttf");
  font-weight: 300;
  font-display: swap
}

@font-face {
  font-family: 'IRANSans-web';
  src: url(../font-farsi/IRANSans-web.eot);
  src: url(../font-farsi/IRANSans-web.eot?#iefix) format("eot"), url(../font-farsi/IRANSans-web.woff2) format("woff2"), url(../font-farsi/IRANSans-web.woff) format("woff"), url(../font-farsi/IRANSans-web.ttf) format("ttf");
  font-weight: 400;
  font-display: swap
}


@font-face {
	font-family: 'IRANSans-web';
	font-style: normal;
	font-weight: normal;
	src: url('../font-farsi/IRANSansWeb(FaNum).eot');
	src: url('../font-farsi/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */ url('../font-farsi/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/ url('../font-farsi/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../font-farsi/IRANSansWeb(FaNum).ttf') format('truetype');
}


	.a{
		background:red;
	}
	
	.b{
		background:blue;
	}

	.c{
		background:yellow;
	}

	.d{
		background:green;
	}

	.e{
		background:black;
	}

	.f{
		background:#ccc;
	}

	.g{
		background:#f40004;
	}	
	.container{
		/*border:solid 1px #000;*/
	}
	body{
		  background: url(../images/defult-bg-pakage.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: IRANSans-web;
		
	}
	
	

a:active,
a:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
a:hover{
	text-decoration:none;
}


.bg-list-title{
	background:#000;
	border-radius:10px 10px 0 0;
}
.bg-list-title h3{
	color:#fff;
	padding:8px 10px 8px 0;
	margin-bottom:0;
	font-size: 15px;
}
.list-aside{
	
	padding:0 0 5px 0;
	border-radius:0 0 10px 10px;
}
.list-aside li{
	background:#fff;
	margin-bottom:2px;
padding:3px 0;
list-style-type:none;
}

.list-aside li a{
color:#000;
font-size:14px;
padding-right:5px;
display:block;
transition: color 0.2s ease;
}
.list-aside li a:hover{
color:#f00;
text-decoration:none;
}

.list-aside .last-list{
background:#000;
padding: 15px;
border-radius: 0 0 10px 10px;
}


.list-aside img{
	border:solid 2px #ccc;
	margin-right:5px;
}


.bg-title{
	background:red;
	border-radius:10px 10px 0 0;
}
.bg-title h2{
	color:#fff;
	padding:8px 10px 8px 0;
	margin-bottom:0;
	font-size:18px;
}

.content{
	background:#fff;
	color:#000;
	text-align:justify;
	padding:5px;
}

.b-content{
	padding:18px;
	background:red;
	border-radius:0 0 10px 10px;
}

footer p,footer a{
	text-align:center;
	color:#fff;
	padding:8px;
	
}
footer span{
		text-align:center;
	color:#fff;
}


footer a{
	color:#fff;
    padding: 0;
}

footer a:hover{
	color:#ccc;
}



@media(max-width:767px){
	
	
	

	
	
	
	
	
	
} /* xs */
@media(min-width:768px){} /* sm */
@media(min-width:992px){} /* md */
@media screen and (min-width: 768px) , (min-width: 992px), (min-width: 1200px) {
	
	
	
	
	.navbar-nav li{

		/*margin-right:5px;*/
	}
	
	.navbar-nav > li{

		margin-right:5px;
	}

	.dropdown-menu > li{

		border-bottom:solid 1px #fff;
	}
	.dropdown-menu > li:last-of-type{
		border-bottom:none;
	}	
	

	.navbar-default .navbar-nav li a:hover{
		color:#000;
	}
	.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover{
	
		background:#000;
		color:#fff;
	}


	
	.navbar-default{
		border:none;
		background:none;
		margin:0;
	}


.navbar{
  min-height:20px;
}	
.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;

}
.navbar-nav > li > a {
    padding: 10px 15px;
	background:#000;
	/*
background: rgb(142,255,50);
background: linear-gradient(180deg, rgba(142,255,50,1) 0%, rgba(11,150,0,1) 100%);
*/
	border-radius:20px 20px 0 0;
	
}
.navbar-default .navbar-nav > li > a:hover{
    padding: 10px 15px;
	background:#fff;
	color:#000;
}

.navbar-default .navbar-nav li a{
	color:#fff;
  transition: color 0.2s ease;
}


.search{
margin-top:100px;
}	



.dropdown-menu{
	background:#000;
}

		
	
} /* lg */


.dot {
  height: 10px;
  width: 10px;
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  
margin-left: 5px;
}


.portfolio-content{
	text-align:center;
}
.portfolio-area{
	min-height:200px;
	overflow:hidden;
}

.portfolio-area li{
	padding-top:20px;
}

.portfolio-area li,.portfolio-categ li{
list-style-type:none;

}


.portfolio-categ{
	float:none;
	display:inline-block;
}

.portfolio-categ ul{

	}

.portfolio-categ li{
	float:left;
	
	margin:0 10px 10px 0;
	background:green;
	
	border-radius:5px;
}
.portfolio-categ a{
	color:#fff;
	padding:3px 10px;
	min-width:100px;
	display:block;
}

.portfolio-categ a:hover{
	color:#000;
	text-decoration:none;
}

.portfolio-categ a:focus{
	color:#000;
	text-decoration:none;
}

.list-content{
	overflow:hidden;
	padding:10px;
}
.list-content img{
	float:right;
	margin-left:20px;
	border-radius:10px;
}
.list-content a{
	color:#000;
}
.list-content span{
	color:#ccc;
	
}
hr{
	margin:10px 0;
}

.icons{
	margin:10px 0;
}
.icons span{
	color:#ccc;
}

.glyphicon{
	padding-left:3px;
}
.download{
	margin:10px 0;
}

.caption h3 a{
	color:#000;
}
.no-padding{
padding:0;	
}
.clearb{
	clear:both;
	padding-top:10px;
}
.blackk{
color:#000;	
}
.info-article{
	color:#8c7d7d;
}
.info-article span{
	padding-left:3px;
}

ul.pagination li a.active {
    background-color: #4D4D4D;
    color: white;
}

.pages{
	text-align:center;
	clear:both;
}
footer{
	background:#000;
	margin-top:10px;
}

.scrollup{
    width:40px;
    height:40px;
    opacity:0.6;
    position:fixed;
    bottom:50px;
    right:50px;
    display:none;
    text-indent:-9999px;
    background: url('../images/icon_top.png') no-repeat;
}


.lan > li{
	float:left;
	list-style-type:none;
	margin:10px 0 0 2px;
}






/* سبد خرید کشویی */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    direction: ltr;
}

.cart-sidebar.active {
    right: 0;
}


  /* --------- برای Firefox --------- */
  .cart-sidebar {
    scrollbar-width: thin; /* نازک کردن اسکرول‌بار */
    scrollbar-color: #b9b9b9 #eee; /* thumb - track */
  }

.cart-sidebar::-webkit-scrollbar {
    width: 10px; /* عرض اسکرول‌بار */
  }

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    background: #28a745;
    color: white;
    padding: 20px;
    position: relative;
}

.cart-title {
text-align: right;
font-size: 15px;
}

.close-cart {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-content p {
    text-align: center;
     color: #666;
      padding: 50px 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.2);
    
}

.cart-item-image img{
width: 100%;
 height: 100%;
  object-fit: cover;
}

.cart-item-info {
    flex: 1;
    text-align: right;
}

.cart-item-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #28a745;
    font-size: 15px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 3px;
    cursor: pointer;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px;
    -moz-appearance: textfield;
    
}
/* مخفی کردن فلش‌ها در Chrome, Safari, Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-total {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.cart-total p {
font-size: 20px;

}

.checkout-btn {
    width: 100%;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
}

.cart-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 0.8rem;
    margin-right: 5px;
}
 /* سبد خرید کشویی */    







/* ادامه سبد خرید*/
 .order-summary{
flex-grow: 1;
}

.order-item{
display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  border-bottom: solid 1px #ccc;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.items-details{
  flex-grow: 1;
}

.order-item .items-details{
  font-size: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.order-item img{
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 5px;
}


.items-details p:nth-last-child(1){
  color:#218838;
}

.summary-details{
  font-size: 14px;
  margin: 30px 0;
}

.summary-row{
  display: flex;
  justify-content: space-around;
  margin-bottom: 5px;
}

.total{
color:#218838;
font-size: 15px;
}
/* ادامه سبد خرید*/



.logo{
  margin: 10px auto;
}



/* ticket */
#ticket-form ul li{
  margin:5px 0;
}

.tickets {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.tickets td, .tickets th {
  border: 1px solid #dcdcdc;
  text-align: center;
  padding: 3px;
}

.tickets tr:nth-child(even) {
  background-color: #dcdcdc;
}
.tickets svg {
  width: 24px;
  color: #6f6f6f;
}
.attachment a{
  font-size: 12px;
}

.count-tickets {
    background: #547f39;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-right: 5px;
}
/* ticket */







/* Messages Page Styles */
.messages-container {
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
}

.message {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

.message-sent {
  background-color: #e3f2fd;
  margin-left: 20%;
  border-right: 4px solid #2196F3;
  text-align: right;
}

.message-received {
  background-color: #f1f1f1;
  margin-right: 20%;
  border-left: 4px solid #9e9e9e;
}

.message-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.message-text {
  margin: 5px 0;
}

.message-form {
  margin-top: 20px;
  /* border-top: 1px solid #ddd; */
  padding-top: 15px;
}

.wish-info {
  background-color: #f9f9f9;
  padding: 10px;
  margin-bottom: 15px;
  border-right: 4px solid #ff9800;
  border-radius: 5px;
}

/* Button Styles */
.view-messages, .send-message {
/* display: inline-block;
  padding: 5px 10px;
  background-color: #1DB500;
  color: #fff;
  border-radius: 3px;
  font-size: 14px; */
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 13px;
  margin: 0 10px;
  background: black;
  color: #fff;
  direction: ltr;
}

.view-messages:hover, .send-message:hover {
  background-color: #199900;
}

/* Unread message indicator */
.unread-count {
  /* display: inline-block;
  background-color: #f44336;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  margin-right: 5px; */

  display: inline-block;
  background-color: #f44336;
  color: white;
  border-radius: 50%;

  font-size: 12px;
  margin-right: 5px;
  width: 20px;
  text-align: center;
}

/* Message status */
.message-status {
  font-size: 12px;
  color: #666;
}





















/* استایل‌های کلی برای لیست مقالات */
.articles-list {
    padding: 20px 0;
}

/* استایل برای هر آیتم مقاله */
.article-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* خط جداکننده بین مقالات */
    overflow: hidden; /* برای جلوگیری از مشکلات floated elements */
}

.article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* استایل تصویر مقاله */
.article-item img {
    width: 200px;
    height: 150px;
    object-fit: cover; /* این پراپرتی باعث می‌شود تصویر کج نشود و برش بخورد تا کامل جا شود */
    border-radius: 5px; /* کمی گرد شدن گوشه‌های تصویر */
    margin-bottom: 15px; /* فاصله از پایین در حالت موبایل */
}

@media (min-width: 992px) {
    .article-item img {
        margin-bottom: 0; /* حذف فاصله در حالت دسکتاپ */
    }
}

/* استایل عنوان مقاله */
.article-title {
    margin-top: 0; /* حذف مارجین بالای h3 در بوت استرپ */
    font-size: 16px;
    /* font-weight: bold; */
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #d40016; /* تغییر رنگ در هاور */
}

/* استایل متادیتا (تاریخ و ...) */
.article-meta {
    margin-bottom: 10px;
    color: #888;
    font-size: 14px;
}

.article-meta .glyphicon {
    margin-left: 5px;
}

/* استایل خلاصه مقاله */
.article-summary {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* استایل دکمه ادامه مطلب */
.btn-read-more {
    background-color: transparent;
    border: 1px solid #d40016;
    color: #d40016;
    padding: 6px 15px;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #d40016;
    color: #fff;
    text-decoration: none;
}



























/* استایل کلی باکس مقاله */
.article-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* margin-bottom: 30px; */
}

/* استایل بخش بالایی (هدر) */
.article-header {
    margin-bottom: 20px;
}

/* استایل اطلاعات مقاله (عنوان، تاریخ، خلاصه) */
.article-info {
    /* برای رسپانسیو بهتر در موبایل */
    padding-right: 15px;
    padding-left: 15px;
}

/* استایل عنوان مقاله */
.article-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

/* استایل تاریخ و متادیتا */
.article-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.article-meta .glyphicon {
    margin-left: 5px;
}

/* استایل بخش خلاصه */
.article-summary {
    font-weight: 500;
}

/* استایل متن اصلی مقاله */
.article-content {
    line-height: 1.8;
    text-align: justify;
    font-size: 16px;
    color: #444;
}

/* برای نمایش بهتر در موبایل */
@media (max-width: 768px) {
    .article-title {
        text-align: center;
        margin-top: 15px;
    }
    .article-meta {
        text-align: center;
    }
}






















/* استایل کلی لیست محصولات */
.product-list {
    /* margin-top: 30px; */
}

/* استایل اصلی کارت محصول */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    
    /* سایه مناسب برای همه کارت‌ها */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    
    /* انیمیشن برای افکت هاور */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* برای جلوگیری از بیرون زدن محتوا در حین انیمیشن */
}

/* افکت هاور: کارت کمی بالا می‌آید و سایه‌اش عمیق‌تر می‌شود */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* استایل عکس محصول */
.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* استایل عنوان محصول */
.product-title {
    font-size: 18px;
    /* font-weight: 600; */
    color: #333;
    height: 48px; /* ارتفاع ثابت برای هم‌تراز بودن عناوین در یک ردیف */
    overflow: hidden;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* استایل بخش قیمت */
.price-box {
    margin-bottom: 10px;
    min-height: 40px; /* ارتفاع ثابت برای هم‌تراز بودن قیمت‌ها */
}

/* قیمت قدیم (خط‌خورده) */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 8px;
}

/* قیمت جدید و قیمت عادی */
.new-price, .current-price {
    color: #e74c3c;
    font-size: 20px;
    /* font-weight: bold; */
}

/* استایل وضعیت موجودی */
.stock-status {
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* وضعیت موجود */
.in-stock {
    color: #27ae60;
}

/* وضعیت ناموجود */
.out-of-stock {
    color: #c0392b;
}

/* استایل دکمه افزودن به سبد خرید */
.add-to-cart-btn {
    width: 100%;
    border-radius: 20px;
    font-weight: bold;
    padding: 10px;
    background-color: #2ecc71;
    border-color: #27ae60;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #27ae60;
}

/* استایل دکمه وقتی محصول ناموجود است */
.add-to-cart-btn:disabled {
    background-color: #bdc3c7;
    border-color: #95a5a6;
    cursor: not-allowed;
}

/* رسپانسیو برای تبلت */
@media (max-width: 992px) {
    .product-card {
        margin-bottom: 20px;
    }
}












/* استایل کلی باکس محصول */
.product-detail-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* margin-bottom: 30px; */
}

/* استایل بخش بالایی محصول */
.product-header {
    margin-bottom: 30px;
}

/* استایل عکس اصلی محصول */
.product-main-image {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* استایل اطلاعات محصول */
.product-info {
    padding-right: 20px; /* فاصله از عکس در دسکتاپ */
}

/* استایل عنوان محصول */
.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

/* استایل بخش قیمت */
.price-box {
    margin-bottom: 15px;
}

/* قیمت قدیم (خط‌خورده) */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    margin-left: 10px;
}

/* قیمت جدید و قیمت عادی */
.new-price, .current-price {
    color: #e74c3c;
    font-size: 26px;
    font-weight: bold;
}

/* استایل وضعیت موجودی */
.stock-status {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 500;
}

.in-stock {
    color: #27ae60;
}

.out-of-stock {
    color: #c0392b;
}

/* استایل لیست مشخصات */
.product-specs {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.product-specs li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

.product-specs li:last-child {
    margin-bottom: 0;
}

.product-specs li strong {
    color: #333;
    display: inline-block;
    width: 100px; /* عرض ثابت برای هم‌ترازی مشخصات */
}

/* استایل دکمه افزودن به سبد خرید در صفحه محصول */
.add-to-cart-detail-btn {
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 25px;
    background-color: #27ae60;
    border-color: #229954;
    transition: all 0.2s ease-in-out;
}

.add-to-cart-detail-btn:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* استایل بخش توضیحات */
.product-description h2 {
    font-size: 22px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.product-description p {
    line-height: 1.8;
    text-align: justify;
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}

/* برای نمایش بهتر در موبایل */
@media (max-width: 768px) {
    .product-info {
        padding-right: 0;
        margin-top: 20px;
    }
    .product-title {
        text-align: center;
    }
    .product-specs li strong {
        display: block; /* مشخصات در موبایل زیر هم قرار میگیرند */
        width: auto;
        margin-bottom: 5px;
    }
    .add-to-cart-detail-btn {
        width: 100%;
    }
}















/* استایل کلی باکس سفارش */
.order-summary-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    margin-bottom: 30px;
}

/* استایل عنوان لیست */
.list-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

/* استایل کانتینر آیتم‌ها */
.order-items {
    margin-bottom: 20px;
}

/* استایل هر آیتم سفارش */
.order-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

/* استایل عکس محصول */
.order-item img {
    width: 100px; /* عرض ثابت برای عکس */
    height: 100px; /* ارتفاع ثابت برای عکس */
    object-fit: cover; /* جلوگیری از کشیدگی عکس */
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-left: 20px; /* فاصله عکس از متن */
}

/* استایل کانتینر جزئیات */
.items-details {
    flex-grow: 1; /* این بخش باقی‌مانده فضا را پر می‌کند */
}

/* استایل پاراگراف‌های داخل جزئیات */
.items-details p {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #555;
}

/* استایل عنوان محصول */
.items-details .item-title {
    font-weight: bold;
    font-size: 17px;
    color: #333;
}

/* استایل خط جداکننده */
.order-items hr {
    border-color: #f0f0f0;
    margin: 10px 0;
}

/* استایل بخش جمع کل */
.order-grand-total {
    text-align: left; /* در راست‌چین، متن را به چپ می‌برد */
    padding-top: 20px;
    border-top: 2px solid #eee;
    font-size: 18px;
}

.order-grand-total strong {
    color: #555;
}

.order-grand-total .grand-total-amount {
    color: #e74c3c;
    font-size: 22px;
    font-weight: bold;
}

/* استایل‌های موبایل */
@media (max-width: 768px) {
    .order-item {
        flex-direction: column; /* عمودی کردن چیدمان در موبایل */
        align-items: flex-start;
        text-align: center;
    }

    .order-item img {
        margin-left: 0;
        margin-bottom: 15px;
        align-self: center; /* وسط چین کردن عکس */
    }

    .items-details {
        width: 100%;
    }

    .order-grand-total {
        text-align: center; /* وسط چین کردن جمع کل در موبایل */
    }
}





























/* استایل کلی باکس گالری */
.gallery-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* margin-bottom: 30px; */
}

.gallery-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

/* استایل دکمه‌های فیلتر */
.filter-buttons {
    margin-bottom: 30px;
}

.btn-filter {
    margin: 5px;
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* استایل دکمه فعال (دسته‌بندی انتخاب شده) */
.btn-filter.active {
  background-color: #252e36;
  color: #fff;
  border-color: #101010;
}

.btn-filter:hover {
    background-color: #e0e0e0;
}
.btn-filter.active:hover {
    background-color: #000;
}


/* استایل لیست و آیتم‌های گالری */
.portfolio-area {
    list-style: none;
    padding: 0;
    margin-right: -15px;
    margin-left: -15px;
}

.portfolio-item {
    padding: 15px;
    margin-bottom: 30px;
    /* انیمیشن اصلی برای نمایش/مخفی شدن */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.portfolio-item img {
    width: 100%;
    /* height: auto; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* کلاسی که جاوا اسکریپت برای مخفی کردن عکس‌ها اضافه می‌کند */
.portfolio-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    /* این باعث می‌شود که فضای خالی شده توسط عکس‌های مخفی شده پر شود */
    position: absolute;
    pointer-events: none; /* جلوگیری از کلیک روی عکس‌های مخفی */
}










.all-btn {
  /* width: 100%; */
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 15px;
}


.btn-success.active, .btn-success:active, .btn-success:hover, .open > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #dbdbdb;
  border-color: #fff;
}

.btn.focus, .btn:focus, .btn:hover {
  color: #dbdbdb;
  text-decoration: none;
}