 /*

Theme Name: Lukani Child Theme

Theme URI: http://demo.roadthemes.com/lukani/

Author: Plaza-Themes

Author URI: http://plazathemes.com/

Description:  Lukani Child Theme

Version: 1.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, post-formats, sticky-post, threaded-comments

Text Domain: lukani

Template: lukani



This theme, like WordPress, is licensed under the GPL.

Use it to make something cool, have fun, and share what you've learned with others.

*/



/* ------------------------------
   شفاف کردن محصولات شگفت انگیز یا تخفیف خورده
------------------------------ */
.main-container .sale_product .shop-products .product-wrapper {
 opacity: 1 !important;
}

/* ------------------------------
   فیلتر موبایل شیک با دکمه بستن و انیمیشن
------------------------------ */

/* به طور پیش‌فرض دکمه‌ها در دسکتاپ مخفی‌اند */
.filter-toggle,
.filter-close,
.filter-overlay {
  display: none;
}

/* فقط در موبایل فعال می‌شوند */
@media (max-width: 991px) {
  /* دکمه باز کردن فیلتر */
  .filter-toggle {
 	display: block;
  	background: #fff;          /* پس‌زمینه سفید */
  	color: #000;               /* متن مشکی */
  	border: 1px solid #ccc;    /* کادر طوسی */
  	padding: 10px 16px;
  	text-align: center;
  	font-size: 15px;
  	border-radius: 8px;
  	margin: 15px auto;
  	width: fit-content;
  	cursor: pointer;
  	transition: all 0.3s ease;
  }
  .filter-toggle:hover {
  	background: #f5f5f5;       /* کمی خاکستری در حالت hover */
 	border-color: #999;        /* کمی تیره‌تر در hover */
  }

  /* سایدبار به‌صورت کشویی از راست باز می‌شود */
  #secondary {
    display: block; /* لازم است تا در حالت فعال با انیمیشن کار کند */
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 15px rgba(0,0,0,0.4);
    overflow-y: auto;
    padding: 20px;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  #secondary.active {
    transform: translateX(0);
  }

  /* پس‌زمینه نیمه شفاف */
  .filter-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
  }
  .filter-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* دکمه × بستن فقط وقتی فیلتر باز است نمایش داده شود */
  .filter-close {
    display: block;
    background: #000;
    color: #fff;
    border: none;
    font-size: 18px;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    margin-bottom: 15px;
    width: 100%;
    text-align: right;
  }

  /* وقتی فیلتر بسته است، دکمه بستن هم دیده نشود */
  #secondary:not(.active) .filter-close {
    display: none;
  }
}

/* ------------------------------
    پایان - فیلتر موبایل - نسخه با دکمه بستن
------------------------------ */

/* ------------------------------
   چینش دکمه فیلتر کنار مرتب‌سازی
------------------------------ */
@media (max-width: 991px) {
  .toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .filter-toggle {
    order: 1;
  }

  .woocommerce-ordering {
    order: 2;
    flex: 1;
  }

  /* پنهان کردن حالت نمایش و تعداد محصولات در موبایل */
  .view-mode,
  .woocommerce-result-count {
    display: none !important;
  }

  /* برای راست‌به‌چپ */
  body.rtl .toolbar-inner {
    flex-direction: row-reverse;
  }
}

  /* برای نوار بالایی صفحه اصلی قسمت پشتیبانی */
.header-container .hot-line {
    color: #999999;
    padding: 7px 0 !important;
    line-height: initial;
}


  /* قالب هدر های 3و 4 رو تغییر دادیم. منو روی اسلایدر بود رفت بالای اسلایدر*/
@media (min-width: 1200px) {
    .home .header-3 {
        position: relative !important;
    }
}
@media (min-width: 1200px) {
    .home .header-4 {
   	 position: relative !important;
    }
}


/* مسیر برای منوی حساب من که روی منو بمونه*/
.header-container .header-middle {
    z-index: 9992 !important;
}


.fa-instagram:before {
    content: "\f16d";
}

.footer .social a.whatsapp:before {
    content: "\f232";
}








/* =============================== */
/* 3. لینک‌ها و دکمه‌ها */
/* =============================== */
/* لینک‌ها در حالت هاور */
a:hover {
    color: #C36A20 !important;
}

/* دکمه‌ها در حالت هاور */
button:hover,
input[type="submit"]:hover,
a.button:hover {
    background-color: #C36A20 !important;
    border-color: #C36A20 !important;
    color: #ffffff !important;
}

/* =============================== */
/* 4. منوی حساب کاربری ووکامرس */
/* =============================== */
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #C36A20 !important;
}

/* =============================== */
/* 5. لینک‌ها و آیکون‌های اضافی که سبز هستند */
/* =============================== */
a.link-green,
span.price.green,
.product-badge.sale {
    color: #C36A20 !important;
    border-color: #C36A20 !important; /* اگر حاشیه هم سبز بود */
    background-color: #C36A20 !important; /* اگر باکس سبز بود */
}

.main-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list li.vc_active a {
    color: #C36A20 !important;
}

/* تب‌های ویژوال کامپوزر - متن */
.vc_tta-tabs-list li a .vc_tta-title-text {
    color: #000000 !important; /* رنگ اصلی تب‌ها */
}

/* تب فعال */
.vc_tta-tabs-list li.vc_active a .vc_tta-title-text {
    color: #C36A20 !important; /* تب فعال */
}

/* هاور تب‌ها */
.vc_tta-tabs-list li a:hover .vc_tta-title-text {
    color: #A05518 !important;
}

/* لینک‌های مخصوص static-top-store1 */
.static-top-store1 .text a {
    color: #00000 !important; /* رنگ متن */
    border-bottom: 2px solid #C36A20 !important; /* خط زیر متن */
}

/* هاور لینک‌ها */
.static-top-store1 .text a:hover {
    color: #A05518 !important;
    border-bottom: 2px solid #A05518 !important;
}

/* لینک‌های زیرمنو (Mega Dropdown / Submenu) */
.mega_dropdown li a .link_text {
   /* color: #C36A20 !important;*/
}

/* هاور لینک‌های زیرمنو */
.mega_dropdown li a:hover .link_text {
    color: #A05518 !important;
}

/* آیتم فعال زیرمنو (در صورت فعال بودن دسته) */
.mega_dropdown li.current-menu-item > a .link_text,
.mega_dropdown li.current-menu-ancestor > a .link_text {
    color: #C36A20 !important;
}

/* جلوگیری از تغییر رنگ روی هاور */
.col-account .widgettitle:hover {
    color: #A05518 !important; /* رنگ مشکی هنگام هاور */
}

/* حذف ستاره محصول ها روی کارتشون */
.product-wrapper .ratings,
.product-wrapper .star-rating {
    display: none !important;
}

/* هم‌ارتفاع کردن همه price-box ها چون تخفیف خورده ها ارتفاع بیشتر داشنتد*/
.product-wrapper .price-box {
    min-height: 50px; /* می‌تونی 40 یا 50 هم بذاری */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* دکمه افزودن به سبد خرید صفحه محصول */
.main-container .product-view .summary.single-product-info .cart .button {
    background-color: #C36A20 !important;
    color: #ffffff !important;
    border: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover */
.main-container .product-view .summary.single-product-info .cart .button:hover {
    background-color: #A05518 !important;
}

/* Active */
.main-container .product-view .summary.single-product-info .cart .button:active {
    background-color: #8C4513 !important;
    transform: scale(0.97);
}
/* ================================================= */
/* دکمه افزودن به سبد خرید – صفحه محصول تکی */
/* ================================================= */
.main-container .product-view .summary.single-product-info .cart .button {
    background-color: #C36A20 !important; /* رنگ اصلی برند */
    color: #ffffff !important;
    border: none !important;
    min-width: 300px;
    line-height: 5rem;
    border-radius: 2.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.main-container .product-view .summary.single-product-info .cart .button:hover {
    background-color: #A05518 !important;
}

.main-container .product-view .summary.single-product-info .cart .button:active {
    background-color: #8C4513 !important;
    transform: scale(0.97);
}


/* ================================================= */
/* تب‌های توضیحات / نظرات – صفحه محصول */
/* ================================================= */

/* قیمت محصول تکی */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #3E2F28 !important; /* قهوه‌ای شکلاتی تیره */
    font-weight: 600;
}

/* قیمت تخفیف خورده (قیمت جدید) */
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    color: #DE232B !important;
    text-decoration: none;
}

/* قیمت قبلی (خط خورده) */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #9C8B7E !important;
    text-decoration: line-through;
}


/* ================================================= */
/* منوی اصلی هدر – رنگ برند شکلات */
/* ================================================= */

/* منوی فعال و ancestor */
.header-3 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li.current-menu-item > a.item_link .link_text,
.header-3 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li.current-menu-ancestor > a.item_link .link_text {
    color: #C36A20 !important;
}

/* هاور منوی اصلی */
.header-3 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li > a.item_link:hover .link_text {
    color: #A05518 !important;
}
.header-3 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li > a.item_link::after {
    background-color: #C36A20 !important;
}


/* ================================================= */
/* تب‌های توضیحات / نظرات ووکامرس – حذف سبز قالب */
/* ================================================= */

/* متن تب‌ها */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #3E2F28 !important; /* متن قهوه‌ای تیره */
    position: relative;
}

/* تب فعال */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #C36A20 !important; /* کاراملی برند */
}

/* خط زیر تب (underline) */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #C36A20 !important; /* حذف سبز */
    position: absolute;
    bottom: 0;
    left: 0;
}

/* هاور تب‌ها */
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #A05518 !important;
}


.shop-products .product-wrapper {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.shop-products .product-wrapper:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}


/*   مرتب شدن متن های فارسی و انگلیسی ترکیبی */
body,
h1, h2, h3, h4, h5, h6,
p, li, span, a {
   /* unicode-bidi: plaintext;مشکل داشت در جزییات محصول*/
}
.main-container .shop-products .product-wrapper .product-name a {
    direction: rtl !important;
}

/*    پایان مرتب شدن متن های فارسی و انگلیسی ترکیبی  */


.product-wrapper .product-name {
    font-size: 14px;          /* ثابت */
    line-height: 1.4;         /* واقعی */
    height: calc(1.4em * 2);  /* دقیقاً 2 خط */
    margin: 0;                /* حذف فاصله‌های پیش‌فرض */
    padding: 1px;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    text-align: center;
}

.product-wrapper .product-name a {
    display: block;
    line-height: inherit;
}

.owl-stage-outer {
    overflow: hidden;
    padding-bottom: 20px;
}

/* Hide update cart button  پنهان کردن دکمه بروزرسانی در سبد خرید*/
.button[name="update_cart"] {
display: none !important;
}
/* پایان Hide update cart button  پنهان کردن دکمه بروزرسانی در سبد خرید*/


/* افزایش z-index پیام خطا وقتی کاربر عدد اشتباه میزنه در صفحه ورود */
.swal2-container {
    z-index: 10000 !important; /* یک عدد بسیار بالا */
}
/*پایان پیام خطا در صفحه ورود وقتی کاربر عدد اشتباه میزنه*/


/* ------ادیت صفحه ورود sms.ir-------*/

/* 🎯 فقط روی برگه ورود اعمال می‌شود */
body.page-id-15961 {
  background: linear-gradient(135deg, #f8fbff, #e9f1ff);
  font-family: "IRANYekan", sans-serif;
  direction: rtl;
}

/* باکس اصلی فرم */
body.page-id-15961 #smsir-login-app-1 > div {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  padding: 40px 30px !important;
  max-width: 420px !important;
  margin: 100px auto !important;
  transition: all 0.3s ease;
}

/* افکت شناور هنگام هاور */
body.page-id-15961 #smsir-login-app-1 > div:hover {
  transform: translateY(-0px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* لوگو بالا */
body.page-id-15961 #smsir-login-app-1 img {
  width: 110px !important;
  height: auto !important;
  margin-bottom: 10px !important;
}

/* عنوان‌ها و متن‌های توضیحی */
body.page-id-15961 .smsir span {
  color: #333 !important;
  font-size: 14px !important;
}

/* فیلد ورودی */
body.page-id-15875 .smsir input[type="number"],
body.page-id-15875 .smsir input[type="text"],
body.page-id-15875 .smsir input[type="tel"] {
  border-radius: 12px !important;
  border: 1px solid #d6d6d6 !important;
  padding: 12px 15px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  text-align: right !important;
}

body.page-id-15875 .smsir input:focus {
  border-color: #c36a20 !important;
  box-shadow: 0 0 6px rgba(0,84,166,0.2);
  outline: none;
}

/* دکمه "دریافت کد" */
body.page-id-15875 .smsir button[type="submit"] {
  background-color: #ffd84c !important;
  color: white !important;
  border-radius: 30px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 12px 0 !important;
  transition: all 0.3s ease;
}

body.page-id-15875 .smsir button[type="submit"]:hover {
  background-color: #c36a20 !important;
}

/* دکمه ورود با رمز عبور */
body.page-id-15875 .smsir button[type="button"] {
  background-color: #f2f2f2 !important;
  border-radius: 30px !important;
  color: #222 !important;
  padding: 12px 0 !important;
  font-size: 15px !important;
}

/* نوار پایین (verified by sms.ir) */
body.page-id-15875 .smsir span.text-[#5B5C60] {
  color: #777 !important;
  font-size: 13px !important;
}

body.page-id-15875 .smsir span.text-[#5B5C60] a {
  color: #0054a6 !important;
  text-decoration: none !important;
}

body.page-id-15875 .smsir span.text-[#5B5C60] a:hover {
  text-decoration: underline !important;
}

/* حذف کامل بخش Verified by SMS.ir و localhost */
body.page-id-15875 .smsir [class*="text-[#5B5C60]"][class*="justify-center"] {
  display: none !important;
}


/*   حذف تیتر و مسیر */
/*   حذف فاصله اضافه بالا و پایین */
body.page-id-15961 .title-breadcrumb,
body.page-id-15961 .page-title,
body.page-id-15961 .breadcrumbs {
  display: none !important; /* حذف مسیر صفحه بالا */
}

/* حذف دکمه ورود با رمز عبور در فرم SMS.ir */ 
.smsir-login-modal button:nth-of-type(2), .smsir button:nth-of-type(2) { 
  display: none !important;
}

/* -----پایان بخش ادیت صفحه ورود -------*/


/*شروع راست چین کردن فوتر در موبایل */

/* Fix mobile footer RTL - Lucani */
@media (max-width: 990px) {
    footer,
    footer * {
        direction: rtl !important;
        text-align: right !important;
    }

    .footer-accordion .footer-title,
    .footer-accordion .widget-title {
        text-align: right !important;
    }

    .footer-accordion .toggle-icon {
        float: left !important; /* فلش بازشو بره سمت چپ */
    }
}
/* پایان راست چین کردن فوتر در موبایل */


/* کارت محصولات در حالت لیستی  */
/* دوخطی کردن توضیح مختصر در حالت افقی  */
.listview .product-desc p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* عنوان در حالت لیستی فقط یک خط */
.listview .product-name a {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.listview .product-name {
    height: auto !important;
    min-height: auto !important;
}

/* فاصله ااز بالا */
.listview .product-name {
    margin-top: 8px !important;
}

/*پایان کارت محصولات در حالت لیستی  */


/* صفحه ورود کد رو در گوشی بد نمایش میداد  */

@media screen and (max-width: 768px) {
    .smsir .otp-box[data-v-4cb0aefe] {
        width: 3.5rem !important;
        height: 2.5rem;
        font-size: 1.25rem;  
    }
}

/* صفحه ورود کد رو در گوشی بد نمایش میداد پایان   */
