/*

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;
}

/*
remove Border in bottom of logo and search and my account icon
*/
.header-container .header-middle {
    border-bottom: 0 !important;
}


/*
remove Border in left and right of my account icon
*/
.header-middle .col-cart {
    border-left: 0 !important;
    border-right: 0 !important;
}

/*
remove Border in right of category
*/
.categories-menu .catemenu-toggler {
    border-left:  0 !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";
}


/* ادیت صفحه ورود 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-15961 .smsir input[type="number"],
body.page-id-15961 .smsir input[type="text"],
body.page-id-15961 .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-15961 .smsir input:focus {
  border-color: #ffd84c !important;
  box-shadow: 0 0 6px rgba(0,84,166,0.2);
  outline: none;
}

/* دکمه "دریافت کد" */
body.page-id-15961 .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-15961 .smsir button[type="submit"]:hover {
  background-color: #fcc617 !important;
}

/* دکمه ورود با رمز عبور */
body.page-id-15961 .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-15961 .smsir span.text-[#5B5C60] {
  color: #777 !important;
  font-size: 13px !important;
}

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

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

/* حذف کامل بخش Verified by SMS.ir و localhost */
body.page-id-15961 .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;
}

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


/* حذف کامل آیکون‌های اشتراک‌گذاری از همه‌جا */
.social-sharing {
  display: none !important;
}

/* شروع- بردر محصولات*/

/* بردر روی محصولات */
 .product-wrapper {
    border: 1px solid #dadada !important;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

/* افکت هاور روی محصولات */
.product-wrapper:hover {
    border-color: #333 !important;
    box-shadow: 0 0 16px rgba(0,0,0,0.1);
}

/* ارتفاع یکسان + وسط‌چین برای عنوان محصولات */
.product-wrapper .product-name {
    min-height: 43px;
    display: flex;
    align-items: center; /* وسط‌چین عمودی */
    justify-content: center; /* وسط‌چین افقی */
    text-align: center; /* وسط‌چین متن */
    overflow: hidden;
}
/* پایان - بردر محصولات*/

/*شروع- فقط صفحه محصول – افزایش فاصله عنوان، قیمت و دکمه سبد */
.single-product .product_title {
    margin-bottom: 40px !important;
}

.single-product .price {
    margin-bottom: 30px !important;
}

.single-product form.cart {
    margin-top: 21px !important;
    margin-bottom: 27px !important;
}
/* پایان فقط صفحه محصول – افزایش فاصله عنوان، قیمت و دکمه سبد */

/* بردر روی عکس اصلی محصول در صفحه جزییات محصول */
.single-product .woocommerce-product-gallery__image {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}

/* بردر برای تصاویر کوچک گالری – YITH Magnifier */
.single-product .yith_magnifier_gallery li img {
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px;
    padding: 5px;
    background: #fff;
    box-sizing: border-box;
    transition: 0.3s;
}

/* وقتی موس میره روی هر تصویر */
.single-product .yith_magnifier_gallery li img:hover {
    border-color: #4CAF50 !important;
}

/* تصویر فعال (انتخاب شده) */
.single-product .yith_magnifier_gallery li.active-thumbnail img {
    border-color: #4CAF50 !important;
}

/* راست‌چین کردن کل کادر آدرس و متن داخلش */
.woocommerce-MyAccount-content .woocommerce-Address {
    margin: 0 !important;   /* کادر وسط افقی در صفحه */
    float: none !important;
    text-align: right;           /* متن داخل کادر راست‌چین */
    direction: rtl;              /* راست به چپ شدن کامل محتوا */
}


/*آدرس بار شروع */
/* کل بخش breadcrumb */
.title-breadcrumb {
    background-color: #ffffff !important; /* بک‌گراند سفید */
    padding: 5px 0 !important; /* کاهش ارتفاع */
    border-top: 1px solid #ebebeb !important;
}

/* محتویات داخلی برای راست‌چین کردن */
.title-breadcrumb .container {
    text-align: right !important; /* متن سمت راست */
}

/* استایل مسیر آدرس */
.title-breadcrumb .breadcrumbs {
    font-size: 14px !important; /* اندازه فونت */
    margin-top: 0 !important; 
    margin-bottom: 0 !important;
    line-height: 1.4 !important; /* کم کردن فاصله خطوط */
}

/* استایل لینک‌ها */
.title-breadcrumb .breadcrumbs a {
    color: #333333 !important; /* رنگ لینک‌ها */
    text-decoration: none !important;
}

.title-breadcrumb .breadcrumbs a:hover {
    text-decoration: underline !important;
}

/* جداکننده ها */
.title-breadcrumb .breadcrumbs .separator {
    margin: 0 5px !important; /* فاصله بین لینک‌ها */
    color: #999999 !important;
}

/* مخفی کردن عنوان صفحه در breadcrumb */
.title-breadcrumb .entry-title {
    display: none;
}
/* پایان آدرس بار */


/* شروع هدر استیکی */
/* کاهش ارتفاع هدر استیکی در قالب لوکانی */
/* کاهش ارتفاع و تنظیم عمودی کل هدر استیکی */
.header-sticky.ontop.show .nav-container {
    display: flex !important;
    align-items: center !important;
    height: 55px !important;
    justify-content: center !important; /* منو و لوگو اومد وسط افقی(راست چین نیست دیگه) */
}

/* لوگوی حالت استیکی */
.header-sticky.ontop.show .logo-sticky img {
    max-height: 40px !important;
    width: auto !important;
}

/* وسط‌چین شدن منو مثل لوگو */
.header-sticky.ontop.show .horizontal-menu {
    display: flex !important;
    align-items: center !important;
}

/* رفع افتادگی متن منو (line-height جدید) */
.header-sticky.ontop.show .mega_main_menu_ul > li > a .link_text {
    line-height: 35px !important;
}

/* کاهش padding آیتم‌های منو */
.header-sticky.ontop.show .mega_main_menu_ul > li > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* پایان هدر استیکی */




/* =============================== */
/* 1. منوی اصلی هدر و هاور آیتم‌ها */
/* =============================== */
.header-4 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li.current-menu-ancestor > a.item_link .link_text,
.header-4 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li.current-menu-item > a.item_link .link_text,
.header-4 .header .horizontal-menu #primary > .menu_holder .menu_inner > ul > li > a.item_link:hover .link_text {
    color: #0079ff !important;
}

/* منوی کشویی (Dropdown) */
.header-4 .header .horizontal-menu ul.sub-menu li a .link_text:hover,
.header-4 .header .horizontal-menu ul.sub-menu li:hover > a .link_text {
    color: #0079ff !important;
}

/* =============================== */
/* 2. قیمت محصولات تخفیف خورده */
/* =============================== */
.price-box ins span,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    color: #000000 !important;
}

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

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

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

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

.main-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list li.vc_active a {
    color: #0079ff !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: #0079ff !important; /* تب فعال */
}

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

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

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

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

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

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

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

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

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