@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 100;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Thin.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-thin.woff2') format('woff2');		
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 300;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');	
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: normal;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');		 
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 600;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');		 
	}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: bold;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Bold.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'); 
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 800;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');		 
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 900;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Black.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-Black.woff2') format('woff2');		 
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 950;
	src: url('https://bamarhoney.com/fonts/woff/YekanBakhFaNum-Black.woff') format('woff'),   
	url('https://bamarhoney.com/fonts/woff2/YekanBakhFaNum-Black.woff2') format('woff2');		 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yekan Bakh FaNum', 'Tahoma', sans-serif;
    background-color: #fff;
    direction: rtl;
	overflow-x:hidden;
}
button {
    font-family: 'Yekan Bakh FaNum', 'Tahoma', sans-serif;
    background-color: #f5f5f5;
    direction: rtl;
	font-weight:600;
}

a {
	text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #E1D4B4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* Cart/Checkout header shrink */
body.woocommerce-cart .top-bar,
body.woocommerce-checkout .top-bar {
    padding: 12px 0;
}
body.woocommerce-cart .logo img,
body.woocommerce-checkout .logo img {
    width: 130px !important;
}

/* Checkout steps row */
.setak-header-steps-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 32px;
	padding: 14px 20px;
	background: #EAE1CB;
	border-radius: 15px 15px 0 0;
}

/* Page title (SEO) */
.setak-header-page-title {
    font-size: 15px;
    font-weight: 800;
    color: #2c2c2c;
    margin: 0;
    white-space: nowrap;
}

/* Steps bar */
.setak-checkout-steps {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 220px;
}

.setak-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8d7f61;
    font-size: 13px;
    font-weight: 600;
    position: relative;
}

.setak-step:not(:last-child) {
    flex: 1;
}

.setak-step:not(:last-child)::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(44,34,20,.12);
    margin: 0 12px;
    border-radius: 2px;
}

.setak-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    border: 2px solid rgba(44,34,20,.15);
    color: #8d7f61;
    font-size: 12px;
    font-weight: 800;
    transition: all .2s;
}

.setak-step-label { white-space: nowrap; }

/* Current step */
.setak-step.is-current {
    color: #2c2c2c;
}
.setak-step.is-current .setak-step-circle {
    background: #D3A16A;
    border-color: #D3A16A;
    color: #fff;
    box-shadow: 0 3px 10px rgba(211, 161, 106, 0.4);
}

/* Done step */
.setak-step.is-done {
    color: #6a7147;
}
.setak-step.is-done .setak-step-circle {
    background: #7F8756;
    border-color: #7F8756;
    color: #fff;
}
.setak-step.is-done:not(:last-child)::after {
    background: #7F8756;
}

@media (max-width: 700px) {
    .setak-step-label { display: none; }
    .setak-step.is-current .setak-step-label {
        display: inline;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .setak-header-steps-row {
        gap: 10px 20px;
    }
    .setak-checkout-steps { min-width: 100%; order: 3; }
}

.setak-step-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}
.setak-step-link:hover .setak-step-circle {
    box-shadow: 0 3px 10px rgba(44,34,20,.25);
}

/* Order-received width sync */
body.woocommerce-order-received header .container {
    max-width: 900px;
}
body.woocommerce-order-received .setak-copyright-bar-wrapper {
    max-width: 900px;
}

.logo h1 {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 400;
    font-style: italic;
    color: #2c2c2c;
    line-height: 1.2;
}

.logo span {
    font-size: 18px;
    letter-spacing: 3px;
}
/* ترتیب نمایش در دسکتاپ: لوگو / باکس جستجو / اکشن‌های کاربر
   (ترتیب در HTML عوض شده تا در موبایل همبرگری جای سبد خرید بنشیند،
   پس اینجا با order ترتیب چیدمان دسکتاپ حفظ می‌شود) */
.logo {
    order: 1;
}

.search-box {
    order: 2;
    flex: 1;
    max-width: 500px;
    position: relative;
    margin-right: 0;
    text-align: right;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    outline: none;
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* ===== دکمه ذره‌بین موبایل + پاپ‌آپ تمام‌صفحه جستجو =====
   مارک‌آپ در header.php قرار دارد؛ نکات ساختاری/انیمیشن اینجا نیز
   برای هماهنگی با فایل استایل جدا نگه داشته شده (نسخه کامل در <head> است) */
.mobile-search-toggle { display: none; }

@media (max-width: 768px) {
    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        background: rgba(255,255,255,0.6);
        border: none;
        border-radius: 50%;
        color: #2c2c2c;
        cursor: pointer;
        transition: transform .15s;
    }
    .mobile-search-toggle:active { transform: scale(0.92); }
}

@media (min-width: 769px) {
    .mobile-search-overlay,
    .mobile-search-toggle {
        display: none !important;
    }
}

/* هماهنگی با نوار ادمین وردپرس: وقتی کاربر لاگین است و نوار ادمین نمایش
   داده می‌شود، پاپ‌آپ‌های تمام‌صفحه (منو و جستجو) باید از زیر آن شروع شوند
   نه از نقطه صفر واقعی صفحه، وگرنه با نوار ادمین قاطی می‌شوند. */
body.admin-bar .mobile-search-overlay,
body.admin-bar .mobile-menu-overlay {
    top: 32px;
    height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .mobile-search-overlay,
    body.admin-bar .mobile-menu-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

/********/

/* ===== نتایج جستجوی زنده (مشترک دسکتاپ + موبایل) ===== */
#search-results {
  position: absolute;
  background: #fff;
  border: 1px solid #E1D4B4;
  border-radius: 10px;
  width: 100%;
  max-height: 360px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  top: calc(100% + 6px);
  right: 0;
}

#search-results a,
#mobile-search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background .15s ease;
}

#search-results a:last-of-type,
#mobile-search-results a:last-of-type { border-bottom: none; }

#search-results a:hover { background: #fafafa; }
#mobile-search-results a:active { background: #faf7f0; }

#search-results .s-thumb,
#mobile-search-results .s-thumb {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}
#mobile-search-results .s-thumb { width: 52px; height: 52px; }

#search-results .s-thumb img,
#mobile-search-results .s-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

#search-results .s-badge,
#mobile-search-results .s-badge {
  position: absolute;
  bottom: -4px;
  left: -4px;
  right: -4px;
  background: #b91c1c;
  color: #fff;
  font-size: 9px;
  text-align: center;
  border-radius: 4px;
  padding: 1px 2px;
  line-height: 1.5;
}

#search-results a.s-outofstock,
#mobile-search-results a.s-outofstock {
  opacity: .55;
}

#search-results .s-info,
#mobile-search-results .s-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#search-results .s-title,
#mobile-search-results .s-title {
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#search-results .s-price,
#mobile-search-results .s-price {
  font-size: 13px;
  color: #977837;
  white-space: nowrap;
  font-weight: 600;
}

#search-results .s-viewall,
#mobile-search-results .s-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  color: #977837;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid #eee;
  background: #fcfaf5;
}
#search-results .s-viewall:hover { background: #f7f1e2; }
#mobile-search-results .s-viewall:active { background: #f7f1e2; }

#search-results .s-empty,
#mobile-search-results .s-empty {
  padding: 16px 12px;
  color: #888;
  font-size: 13px;
  text-align: center;
}

#search-results .s-loading,
#mobile-search-results .s-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  color: #888;
  font-size: 13px;
}

#search-results .s-loading::before,
#mobile-search-results .s-loading::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-top-color: #977837;
  border-radius: 50%;
  animation: setak-search-spin .6s linear infinite;
  flex-shrink: 0;
}
@keyframes setak-search-spin { to { transform: rotate(360deg); } }

#mobile-search-results {
  padding: 4px 4px calc(16px + env(safe-area-inset-bottom));
}

/* ===== دکمه ذره‌بین موبایل + پاپ‌آپ تمام‌صفحه جستجو ===== */
.mobile-search-toggle { display: none; }

@media (max-width: 768px) {
  .mobile-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    color: #2c2c2c;
    cursor: pointer;
    transition: transform .15s;
  }
  .mobile-search-toggle:active { transform: scale(0.92); }

  /* باکس جستجوی دسکتاپ در موبایل حذف می‌شود؛ به‌جایش پاپ‌آپ تمام‌صفحه است */
  .search-box { display: none; }
}

@media (min-width: 769px) {
  .mobile-search-overlay,
  .mobile-search-toggle {
    display: none !important;
  }
}

/* هماهنگی با نوار ادمین وردپرس: وقتی کاربر لاگین است و نوار ادمین نمایش
   داده می‌شود، پاپ‌آپ‌های تمام‌صفحه (منو و جستجو) باید از زیر آن شروع شوند
   نه از نقطه صفر واقعی صفحه، وگرنه با نوار ادمین قاطی می‌شوند. */
body.admin-bar .mobile-search-overlay,
body.admin-bar .mobile-menu-overlay {
    top: 32px;
    height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .mobile-search-overlay,
    body.admin-bar .mobile-menu-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.mobile-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-search-overlay-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top));
  border-bottom: 1px solid #f0ebe0;
  flex-shrink: 0;
}
.mobile-search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.mobile-search-input-wrap svg {
  position: absolute;
  right: 14px;
  color: #977837;
  pointer-events: none;
}
.mobile-search-input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border: none;
  border-radius: 25px;
  background: #F0EADC;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.mobile-search-input:focus {
  box-shadow: 0 0 0 2px rgba(211,161,106,.35);
}
.mobile-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: none;
  background: rgba(180,200,150,.35);
  border-radius: 50%;
  color: #2c2c2c;
  cursor: pointer;
  transition: transform .15s;
}
.mobile-search-close:active { transform: scale(0.9); }

#mobile-search-results {
  flex: 1;
  overflow-y: auto;
}

body.setak-search-open { overflow: hidden; }


/*********/
.user-actions {
    order: 3;
    display: flex;
    gap: 15px;
}

.cart-btn, .login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.cart-btn {
    background: rgba(180, 200, 150, 0.6);
    color: #2c2c2c;
}

.login-btn {
    background: rgba(255,255,255,0.9);
    color: #2c2c2c;
}

.cart-btn:hover, .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Account dropdown (desktop) */
.account-menu {
    position: relative;
}
.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 10px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
    color: #2c2c2c;
    transition: all 0.3s;
}
.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #7F8756;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.account-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-caret {
    transition: transform .2s;
    flex-shrink: 0;
}
.account-menu.is-open .account-caret {
    transform: rotate(180deg);
}
.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s ease;
    z-index: 200;
}
.account-menu.is-open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.setak-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.setak-account-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #2c2c2c;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.setak-account-menu li a:hover {
    background: #F0EADC;
}

/* Navigation Styles */
.main-nav {
    background: rgba(255,255,255,0.3);
    padding: 12px 0;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.menu-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    border-radius: 2px;
}

.menu-toggle span {
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.5);
}

.nav-menu li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 8px 0;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
    display: block;
}

.submenu li a {
    padding: 10px 15px;
    white-space: nowrap;
}

/* Mobile Full Screen Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999; /* بالاتر از #wpadminbar وردپرس (z-index: 99999) تا دکمه بستن زیر تاپ‌بار ادمین پنهان نشود */
    flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    overflow-y: auto;
}

.mobile-menu-overlay.open {
    display: flex;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #E1D4B4;
    border-bottom: 1px solid #d4c4a0;
}

.mobile-menu-title {
    font-size: 16px;
    font-weight: 800;
    color: #2c2c2c;
}

.mobile-back-btn,
.mobile-close-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #2c2c2c;
    padding: 5px;
}

/* Account block inside mobile menu */
.mobile-account-block {
    padding: 16px 15px;
    border-bottom: 1px solid #f0ebe0;
    background: #FAF8F3;
}
.mobile-account-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.mobile-account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7F8756;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}
.mobile-account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mobile-account-info strong {
    font-size: 14px;
    color: #2c2c2c;
}
.mobile-account-info span {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-account-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-account-links li a {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: background .15s;
}
.mobile-account-links li a:hover {
    background: #F0EADC;
}
.mobile-account-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #D3A16A;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Bottom tab bar (mobile) */
.setak-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
	.setak-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 500;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 16px rgba(0,0,0,.06);
        height: 60px;
        box-sizing: border-box;
    }
    .setak-bottom-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 6px 2px;
        text-decoration: none;
        color: #999;
        font-size: 11px;
        font-weight: 600;
        border-radius: 12px;
        transition: color 0.2s;
    }

    .setak-bottom-item svg {
        transition: stroke 0.2s;
    }

    .setak-bottom-item.is-active {
        color: #b08d44;
    }

    .setak-bottom-item.is-active svg {
        stroke: #b08d44;
    }
}

.mobile-nav-main,
.mobile-nav-sub {
    list-style: none;
    padding: 15px;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-main li,
.mobile-nav-sub li {
    border-bottom: 1px solid #f0ebe0;
}

.mobile-nav-main li a,
.mobile-nav-sub li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 10px;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
}

.mobile-nav-main .has-submenu a {
    justify-content: flex-start;
}

.mobile-nav-main .has-submenu a .arrow-icon {
    margin-right: auto;
    margin-left: 0;
    flex-shrink: 0;
}

.mobile-nav-main li a:active,
.mobile-nav-sub li a:active {
    background: #f5f0e8;
    border-radius: 10px;
}

/* Submenu slide */
.mobile-nav-sub {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Desktop: hide overlay */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
        transform: none;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* هدر جمع و جورتر در موبایل */
    .top-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }
    .logo img {
        width: 150px !important;
    }
    .logo {
        order: 1;
        flex: 1;
    }
    .user-actions {
        order: 2;
        flex-shrink: 0;
        align-self: center;
        gap: 8px;
    }
    /* دکمه سبد خرید از هدر موبایل حذف می‌شود؛
       دسترسی به سبد خرید از طریق بات‌بار پایین صفحه (setak-bottom-nav) انجام می‌شود.
       اما در جریان سبد خرید/تسویه‌حساب، چون بات‌بار پایین نمایش داده نمی‌شود (footer.php)،
       دکمه سبد خرید در هدر نگه داشته می‌شود تا کاربر بی‌راه نماند. */
    .cart-btn {
        display: none;
    }
    body.woocommerce-cart .cart-btn,
    body.woocommerce-checkout .cart-btn {
        display: flex;
        padding: 10px;
    }
    .cart-btn-label {
        display: none;
    }
    /* دکمه ورود/ثبت‌نام و منوی حساب کاربری در موبایل حذف می‌شوند؛
       این دو مسیر به منوی همبرگری (mobile-account-block) و بات‌بار منتقل شده‌اند */
    .login-btn,
    .account-menu {
        display: none;
    }
    /* منوی همبرگری جای دکمه سبد خرید را می‌گیرد */
    .menu-toggle {
        display: flex;
        position: static;
        transform: none;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(180, 200, 150, 0.6);
        border-radius: 50%;
    }
    /* باکس جستجوی دسکتاپ در موبایل حذف می‌شود؛ به‌جایش دکمه ذره‌بین + پاپ‌آپ تمام‌صفحه است
       (مارک‌آپ و استایل پاپ‌آپ داخل header.php قرار دارد) */
    .search-box {
        display: none;
    }
    .main-nav {
        display: block;
    }

	 .nav-menu {
        font-size: 13px;
    }
    
    .nav-menu li a {
        padding: 6px 10px;
    }

	.nav-menu {
        display: none;
    }
}

/* Stories section */
.stories-section {
	background: #fff;
	padding: 15px 0 0;
}
.stories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}
.story-nav {
    background: none;
    border: 2px dashed #ccc;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s;
    flex-shrink: 0;
}
.story-nav:hover {
    border-color: #666;
    color: #666;
}
.stories-container {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 20px 0;
	flex: 1;
	cursor: grab;
}
.stories-container.setak-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}
/* Thin scrollbar */
.stories-container::-webkit-scrollbar {
	height: 6px;
}
.stories-container::-webkit-scrollbar-track {
	background: #fff;
	border-radius: 10px;
}
.stories-container::-webkit-scrollbar-thumb {
	background: #fff;
	border-radius: 10px;
}
.stories-container::-webkit-scrollbar-thumb:hover {
	background: #fff;
}
/* Firefox */
.stories-container {
	scrollbar-width: thin;
	scrollbar-color: #fff #fff;
}
.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.story-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 25%, #ffd700 50%, #4facfe 75%, #00f2fe 100%);
    cursor: pointer;
    transition: transform 0.3s;
}
.story-circle:hover {
    transform: scale(1.05);
}
.story-circle img,
.story-circle video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}
.story-item p {
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 700;
    text-align: center;
}
@media (max-width: 768px) {
    .story-nav {
        display: none;
    }
    .stories-wrapper {
        gap: 0;
    }
    .stories-container {
        gap: 15px;
        padding: 20px 4px;
    }
    .story-circle {
        width: 85px;
        height: 85px;
    }
    .story-item p {
        font-size: 12px;
    }
}

/* Story viewer */
.setak-story-viewer {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.setak-story-viewer.active {
    display: flex;
}
.setak-story-progress-bars {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 3;
}
.setak-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 3px;
    overflow: hidden;
}
.setak-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
}
.setak-progress-bar.done .setak-progress-bar-fill {
    width: 100% !important;
}
.setak-story-header {
    position: absolute;
    top: 22px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}
.setak-story-title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.setak-story-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}
.setak-story-media-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.setak-story-media-wrap img,
.setak-story-media-wrap video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.setak-story-tap-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    z-index: 2;
    cursor: pointer;
}

.setak-story-tap-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transition: opacity 0.2s;
}
.setak-story-tap-zone:hover,
.setak-story-tap-zone:active {
    opacity: 1;
    background: rgba(0,0,0,0.15);
}
.setak-story-tap-icon {
    pointer-events: none;
}


.setak-story-link-wrap {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.setak-story-link-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: setak-link-bounce 1.8s ease-in-out infinite;
    transition: transform 0.15s ease, background 0.15s ease;
}

.setak-story-link-btn:hover {
    background: #fff;
    transform: scale(1.04);
}

.setak-story-link-btn svg {
    flex-shrink: 0;
}

@keyframes setak-link-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.setak-story-tap-zone.left  { left: 0; }
.setak-story-tap-zone.right { right: 0; }

@media (max-width: 768px) {
    .setak-story-header { top: 16px; }
}

/* Tabs wrapper */
.setak-tab-wrapper {
	background-color: #fff;
	border-radius: 30px;
	max-width: 1366px;
	width: 100%;
	display: flex;
	align-items: flex-start;
	overflow: hidden;
	padding: 0 20px;
	gap: 20px;
	margin: 0 auto;
}
        /* Content section */
        .setak-content-section {
            flex: 1.5;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }
.setak-header-img {
	position: absolute;
	width: 250px;
	margin-bottom: -30px;
	bottom: -100px;
	left: -20px;
}
        .setak-header {
            margin-bottom: 30px;
			position:relative;
        }

        .setak-title-box {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 5px;
        }

.setak-title-box h1 {
	font-size: 36px;
	font-weight: 900;
	color: #2b2b2b;
	margin: 0;
	margin-top: 90px;
}

        .setak-header h2 {
            font-size: 20px;
            font-weight: 700;
            color: #4a4a4a;
            margin: 10px 0 5px 0;
        }

        .setak-header h3 {
            font-size: 16px;
            font-weight: 400;
            color: #777;
            margin: 0;
        }

.setak-tabs-wrapper {
	background: #EFE5CD;
	padding: 20px;
	border-radius: 20px 0 20px 20px;
	margin-right: -100px;
	z-index: 1;
	padding-right: 20px;
}

        /* Tabs */
.setak-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: -15px;
	flex-wrap: wrap;
	margin-right: 30px;
}

        .setak-tab {
            background-color: #ffffff;
            border: 1px solid #eaeaea;
            padding: 12px 22px;
            border-radius: 15px;
            font-size: 15px;
            font-weight: bold;
            color: #555;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .setak-tab:hover {
            background-color: #f9f9f9;
           
        }

.setak-tab.setak-active {
	background-color: #f08c1d;
	color: #ffffff;
	border-color: #f08c1d;
	box-shadow: 0 5px 15px rgba(240, 140, 29, 0.3);
	padding-bottom: 25px;
}

/* Tab content grid */
.setak-tab-content {
	display: none;
	animation: fadeIn 0.005s ease-in-out;
}

.setak-tab-content.setak-active-content {
	display: block;
	padding: 25px;
	background-color: #ffffff;
	box-shadow: 0 5px 20px rgba(0,0,0,0.03);
	border-radius: 25px;
	position: relative;
	z-index: 9;
	min-height: 380px;
}
.setak-tab-content.setak-active-content .setak-scroll-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	padding: 5px;
	max-height: 350px;
	overflow-y: scroll;
	overflow-x: hidden;
	margin-left: -20px;
	padding-left: 10px;
}
/* Thin scrollbar */
.setak-tab-content.setak-active-content .setak-scroll-wrapper::-webkit-scrollbar {
	width: 6px;
}

.setak-tab-content.setak-active-content .setak-scroll-wrapper::-webkit-scrollbar-track {
	background: #fff;
	border-radius: 10px;
}

.setak-tab-content.setak-active-content .setak-scroll-wrapper::-webkit-scrollbar-thumb {
	background: #fff;
	border-radius: 10px;
}

.setak-tab-content.setak-active-content .setak-scroll-wrapper::-webkit-scrollbar-thumb:hover {
	background: #fff;
}

/* Firefox */
.setak-tab-content.setak-active-content .setak-scroll-wrapper {
	scrollbar-width: thin;
	scrollbar-color: #fff #fff;
}

.setak-tabs-wrapper .setak-card {
	border: 1px solid #F4EBD0;
	border-radius: 18px;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	height: 100px;
}

.setak-tabs-wrapper .setak-card-course {
	border: 1px solid #F4EBD0;
	border-radius: 18px;
	padding: 10px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	cursor: pointer;

}
.setak-tabs-wrapper .setak-card-course img{
	border-radius:20px;
	padding:10px;
}

.setak-card-course-btn {
	background-color: #D4AF37;
	color: white;
	border: none;
	border-radius: 12px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	text-align: center;
}

.setak-card-course-btn:hover {
	background-color: #B8941F;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.setak-tabs-wrapper .setak-card-course {
	display: flex;
	background-color: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 25px;
	padding: 7px;
	box-shadow: -8px 8px 0px 0px #f3ebd8;
	transition: transform 0.3s ease;
}

/* Coming soon */

.setak-coming-soon-full {
	width: 100%;
	min-height: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 25px;
	padding: 7px;
	box-shadow: -8px 8px 0px 0px #f3ebd8;
	transition: transform 0.3s ease;
}

.setak-coming-soon-content {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.setak-card-emoji {
	font-size: 40px;
	animation: float 3s ease-in-out infinite;
}

.setak-coming-soon-full h4 {
	margin: 0;
	font-size: 16px;
	color: #D4AF37;
	font-weight: bold;
}

.setak-coming-soon-full p {
	margin: 0;
	font-size: 12px;
	color: #999;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}
.setak-tabs-wrapper   .setak-card:hover {
           background-color: #7F8756;
			color: #ffffff;
	border-color: #7F8756;
        }

.setak-tabs-wrapper .setak-card:hover .setak-card-info h4,
.setak-tabs-wrapper .setak-card:hover .setak-card-info p {
	color: #ffffff;
}

.setak-card.setak-card-active {
	background-color: #7F8756;
	color: #ffffff;
	border-color: #7F8756;
}

.setak-card-info h4 {
	margin: 0 0 8px 0;
	font-size: 14px;
	font-weight: 700;
	color: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
}

        .setak-card:not(.setak-card-active) .setak-card-info h4 {
            color: #333;
        }

        .setak-card-info p {
            margin: 0;
            font-size: 13px;
            opacity: 0.8;
            color: inherit;
        }

        .setak-card:not(.setak-card-active) .setak-card-info p {
            color: #888;
        }

        .setak-card-img {
            width: 50px;
            height: 50px;
            background-color: #ffffff;
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

/* Image section */
.setak-image-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	transform: scale(0.9);
	z-index: 9;
}

		.setak-main-image {
			width: 100%;
			height: 100%;
			object-fit: cover;
			min-height: 400px;
			z-index: 9;
			border-radius: 30px;
			box-shadow: 0 5px 20px rgba(0, 0, 0, 0.19);
		}

.setak-image-caption {
	font-size: 18px;
	color: #4a4a4a;
	font-weight: 800;
	margin: 30px 0 10px 0;
	text-align: center;
}

        /* Responsive */
        @media (max-width: 1024px) {
            .setak-tab-content.setak-active-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

@media (max-width: 768px) {
    .setak-tab-wrapper {
        flex-direction: column;
        padding: 10px;
    }

    .setak-image-section {
        display: block;
        position: relative;
        width: 100%;
        transform: scale(1);
        min-height: unset;
    }

    .setak-main-image {
        min-height: 200px;
        max-height: 200px;
        width: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 20px;
    }

    .setak-image-caption,
    .setak-header {
        display: none;
    }

    .setak-content-section {
        padding: 10px;
		width: 100%;
    }

    .setak-tabs-wrapper {
        margin-right: 0;
        border-radius: 20px;
        width: 100%;
    }

    .setak-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-right: 0;
        gap: 8px;
        margin-bottom: 10px;
    }

    .setak-tab {
        width: 100%;
        padding: 10px 15px;
        font-size: 13px;
        justify-content: center;
    }

    .setak-tab.setak-active {
        padding-bottom: 10px;
    }

    .setak-tab-content.setak-active-content {
        min-height: unset;
    }

    .setak-tab-content.setak-active-content .setak-scroll-wrapper {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }

.setak-tabs-wrapper .setak-card {
        height: auto;
        min-height: 70px;
        padding: 8px;
        gap: 6px;
        flex-direction: row;
        align-items: center;
    }

    .setak-tabs-wrapper .setak-card img {
        width: 50px !important;
    }

    .setak-card-info h4 {
        font-size: 11px;
    }

    .setak-card-info p {
        font-size: 10px;
    }
}

/* Brands section */
.setak-brands-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;

    box-sizing: border-box;
}

/* Brands header */
.setak-brands-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    gap: 15px;
}

.setak-header-title {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin: 0;
    white-space: nowrap;
}

.setak-header-line {
    height: 1px;
    background-color: #d4b58e;
    width: 150px;
}

.setak-header-dot {
    width: 6px;
    height: 6px;
    background-color: #d4b58e;
    border-radius: 50%;
}

/* Slider container */
.setak-brands-slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Arrow buttons */
.setak-slider-arrow {
    background-color: #d4b58e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.setak-slider-arrow:hover {
    background-color: #c09e75;
}

.setak-slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Brands list */
.setak-brands-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-grow: 1;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 20px;
    padding: 0 20px;
}

.setak-brands-list::-webkit-scrollbar {
    display: none;
}

/* Brand item */
.setak-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    gap: 15px;
}

.setak-brand-image-wrapper {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setak-brand-image-wrapper img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.setak-brand-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .setak-brands-section {
        margin: 28px auto;
    }

    .setak-header-line {
        width: 36px;
    }

    .setak-header-title {
        font-size: 15px;
    }

    .setak-brands-header {
        margin-bottom: 24px;
        gap: 10px;
    }

    /* Arrows hidden on mobile: native swipe/scroll is the expected gesture
       and the buttons were floating awkwardly at the screen edges */
    .setak-slider-arrow {
        display: none;
    }

    .setak-brands-slider-container {
        justify-content: flex-start;
    }

    .setak-brands-list {
        justify-content: flex-start;
        width: 100%;
        padding: 4px 16px 10px;
        gap: 24px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .setak-brand-item {
        min-width: 72px;
        gap: 10px;
        scroll-snap-align: start;
    }

    .setak-brand-image-wrapper {
        width: 72px;
        height: 60px;
    }

    .setak-brand-image-wrapper img {
        max-height: 60px;
    }

    .setak-brand-name {
        font-size: 11.5px;
    }
}

/* Magazine section */
.setak-magazine-section {
    direction: rtl;
    max-width: 1366px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
}

/* Header/title */
.setak-header {
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.setak-header-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0 15px;
}

.setak-header-line {
    height: 2px;
    background-color: #d8c090;
    width: 100px;
    position: relative;
}

.setak-header-line::before {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b08d44;
}

.setak-header-line:first-child::before {
    left: 0;
}

.setak-header-line:last-child::before {
    right: 0;
}

/* Card grid */
.setak-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Card body */
.setak-card {
	display: flex;
	background-color: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 25px;
	padding: 7px;
	box-shadow: -8px 8px 0px 0px #f3ebd8;
	transition: transform 0.3s ease;
}

.setak-magazine-section .setak-card {
	padding: 15px 25px;
}

.setak-card:hover {
    transform: translateY(-5px);
}

/* Card image */
.setak-card-img-wrapper {
	flex-shrink: 0;
	width: 170px;
	height: 170px;
	margin-left: 20px;
	border-radius: 20px;
	overflow: hidden;
}

.setak-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card content */
.setak-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.setak-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.setak-card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 15px 0;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer */
.setak-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.setak-card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #555;
}

.setak-meta-item i {
    color: #777;
    margin-left: 5px;
    font-size: 14px;
}

/* Read-more button */
.setak-btn-readmore {
    display: inline-flex;
    align-items: center;
    background-color: #b08d44;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.setak-btn-readmore:hover {
    background-color: #987836;
}

.setak-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #b08d44;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .setak-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile responsive */
@media (max-width: 992px) {
    .setak-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet / large phones (577px–768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .setak-card {
        padding: 12px 20px;
    }

    .setak-card-img-wrapper {
        width: 130px;
        height: 130px;
        margin-left: 18px;
    }

    .setak-card-title {
        font-size: 15px;
    }

    .setak-card-excerpt {
        font-size: 12px;
        line-height: 1.7;
    }

    .setak-card-meta {
        font-size: 11px;
    }
}

/* Small phones (≤576px) — was previously being overridden by the
   768px block above due to source order; now scoped so it always wins */
@media (max-width: 576px) {
    .setak-magazine-section {
        padding: 28px 16px;
    }

    .setak-card {
        padding: 10px;
        border-radius: 18px;
    }

    .setak-card-img-wrapper {
        width: 92px;
        height: 92px;
        margin-left: 12px;
        border-radius: 14px;
    }

    .setak-card-title {
        font-size: 13.5px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .setak-card-excerpt {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .setak-card-footer {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .setak-card-meta {
        font-size: 10px;
        gap: 8px;
    }

    .setak-btn-readmore {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Footer section */
.setak-footer-section {
    font-family: 'Yekan Bakh FaNum', Tahoma, sans-serif;
    background-color: #fcfbf9;
    padding: 60px 20px 20px 20px;
    position: relative;
    color: #333;
}

/* Features row */
.setak-features-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 2;
}

.setak-features-line {
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 1px;
    border-top: 2px dashed #d1c4b4;
    z-index: -1;
}

@media (max-width: 768px) {
    .setak-features-row {
        -webkit-mask-image: linear-gradient(to left, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to left, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }
}

.setak-feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 10px;
}

.setak-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e6daca;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 10px;
    color: #8b6d4b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.setak-feature-item span {
    font-weight: bold;
    font-size: 14px;
    color: #222;
    white-space: nowrap;
}

/* Main footer box */
.setak-main-footer-box {
	max-width: 1366px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 25px;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	margin-top: -95px;
}

.setak-main-footer-box-in {
	max-width: 1366px;
	background: #ffffff;
	border-radius: 25px;
	padding: 40px 30px;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.27);
	position: relative;
	z-index: 2;
	margin-left: -20px;
	padding-top: 120px;
	margin-top: -10px;
}

/* Cream backdrop */
.setak-main-footer-box::before {
	content: '';
	position: absolute;
	top: -15px;
	bottom: -15px;
	left: -15px;
	right: -15px;
	background-color: #DBCBB1;
	border-radius: 35px;
	z-index: -1;
	opacity: 0.5;
}
.setak-footer-col {
	flex: 1;
	padding: 0 35px;
}

/* Wrapper pairing quick-links + contact so they can be grouped
   as a 2-column block on mobile. On desktop it stays a transparent
   passthrough so the existing flex layout of setak-main-footer-box-in
   is unaffected (the pair simply occupies the same two flex slots). */
.setak-footer-cols-pair {
	display: contents;
}

.setak-col-title {
	font-size: 16px;
	font-weight: 800;
	color: #000;
	margin-bottom: 20px;
	text-align: right;
	position: relative;
	padding-bottom: 10px;
}

.setak-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d1c4b4, transparent);
}

/* Social section heading: hidden on desktop (the grid already reads
   clearly there thanks to spacing), shown only on mobile where the
   section needed a label so it doesn't feel like an orphaned row of icons. */
.setak-social-title {
    display: none;
}

/* About column */
.setak-col-about { text-align: right; }
.setak-about-logo { text-align: center; margin-bottom: 15px; }
.setak-about-logo img {
	width: 150px;
}
.setak-about-text {
    font-size: 13px;
    line-height: 2;
    color: #555;
    text-align: justify;
}

/* Contact column */
.setak-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}
.setak-contact-list li {
    margin-bottom: 15px;
    text-align: right;
    position: relative;
    padding-right: 30px;
}
.setak-contact-list span { font-weight: bold; color: #444; }
.setak-icon-contact {
    position: absolute;
    right: 0;
    top: 2px;
    color: #8b6d4b;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
.setak-icon-contact svg {
    width: 15px;
    height: 15px;
    stroke: #8b6d4b;
    flex-shrink: 0;
}

/* Quick links column */
.setak-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.setak-quick-links li {
    margin-bottom: 10px;
    text-align: right;
}
.setak-quick-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
}
.setak-quick-links a:hover { color: #8b6d4b; }
.setak-quick-links a span { color: #d1c4b4; margin-right: 5px; }

/* Social column */
.setak-social-badges-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.setak-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex: 1;
}
.setak-social-icon {
    background: #e6daca;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.setak-trust-badges {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}
.setak-badge {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}
.setak-badge img { width: 100%; max-width: 60px; }
.setak-bee-decoration {
    font-size: 30px;
    margin-top: 15px;
}

/* Notice bar */
.setak-notice-bar {
    max-width: 800px;
    margin: -15px auto 0 auto;
    background-color: #cdbaa2;
    color: #4a3c2b;
    text-align: center;
    padding: 15px 20px;
    border-radius: 0 0 20px 20px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* Copyright */
.setak-copyright-bar {
    background-color: #6c6c6c;

}

.setak-copyright-bar-wrapper {
	max-width: 1280px;
	background-color: #6c6c6c;
	color: #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 50px;
	font-size: 12px;
	margin: 0 auto;
}

/* Simple footer (cart/checkout pages) */
.setak-footer-simple {
    background: var(--setak-cream, #F0EADC);
    padding: 22px 20px;
}

.setak-footer-simple-trust {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.setak-footer-simple-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #4a3c2b;
    white-space: nowrap;
}

.setak-footer-simple-item a {
    color: #8b6d4b;
    font-weight: 800;
}

.setak-footer-simple-icon {
    font-size: 16px;
}

@media (max-width: 576px) {
    .setak-footer-simple-trust {
        gap: 14px;
        font-size: 12px;
        justify-content: right;
    }
    .setak-footer-simple-item {
        font-size: 12px;
    }
}

/* Responsive */

@media (max-width: 992px) {
    .setak-main-footer-box {
        flex-wrap: wrap;
    }

	  .setak-main-footer-box-in {
        flex-wrap: wrap;
    }
    .setak-footer-col {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
    .setak-features-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    .setak-feature-item {
        padding: 0;
    }
    .setak-features-line { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .setak-footer-section {
        padding: 40px 12px 20px 12px;
    }

    .setak-main-footer-box,
    .setak-main-footer-box-in {
        max-width: 100%;
        border-radius: 15px;
		flex-direction: column;
    }
    
    .setak-main-footer-box-in {
        padding: 50px 16px 30px 16px;
        margin-left: 0;
    }
    
    .setak-footer-col {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 28px;
    }

    /* روی دسکتاپ ترتیب بصری با row-reverse تعیین می‌شود (اجتماعی راست‌ترین).
       اما در حالت ستونی موبایل، row-reverse باعث می‌شد ترتیب DOM خام
       (اجتماعی -> دسترسی سریع -> تماس -> درباره) بدون تغییر نمایش داده شود
       و بخش اجتماعی/بج‌ها بالای همه بیفتد. اینجا با order ترتیب منطقی
       خواندن تعیین می‌شود: (دسترسی‌سریع+تماس بصورت جفت)، درباره، اجتماعی. */
    .setak-footer-cols-pair { order: 1; }
    .setak-col-about   { order: 2; }
    .setak-col-social  { order: 3; margin-bottom: 4px; }

    .setak-col-title {
        font-size: 14.5px;
        text-align: right;
        margin-bottom: 14px;
    }

    .setak-col-title::after {
        display: none;
    }

    /* جفت دسترسی سریع + تماس با ما: دو ستونه و راست‌چین */
    .setak-footer-cols-pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
        margin-top: 18px;
        margin-bottom: 26px;
        padding-top: 4px;
        padding-bottom: 22px;
        border-bottom: 1px solid #ece3d3;
    }

    .setak-footer-cols-pair .setak-footer-col {
        flex: none;
        margin-bottom: 0;
        min-width: 0;
    }

    .setak-col-about {
        text-align: right;
    }

    .setak-about-logo {
        text-align: right;
    }

    .setak-quick-links li,
    .setak-contact-list li {
        text-align: right;
        padding-right: 0;
    }

    .setak-contact-list li {
        font-size: 12.5px;
        margin-bottom: 12px;
    }

    .setak-quick-links a {
        font-size: 13px;
    }

    .setak-icon-contact {
        display: flex;
    }

    .setak-about-text {
        text-align: justify;
    }

    /* بخش اجتماعی/نشان‌ها: تیتر بالا + آیتم‌ها راست‌چین و جمع‌وجور */
    .setak-social-title {
        display: block;
    }

    .setak-social-badges-row {
        margin-top: 0;
        margin-bottom: 18px;
        align-items: center;
        gap: 12px;
    }

    .setak-social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        max-width: 170px;
    }

    .setak-trust-badges {
        justify-content: flex-end;
        gap: 8px;
    }

    .setak-badge {
        padding: 6px;
    }

    .setak-badge img {
        max-width: 44px;
    }
    
    .setak-copyright-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        /* clearance so content isn't hidden behind the fixed bottom nav */
        padding-bottom: 72px;
    }
    
    .setak-copyright-bar-wrapper {
        padding: 15px 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .setak-notice-bar {
        font-size: 12.5px;
        padding: 12px 16px;
        margin-top: -10px;
    }
    
    /* Feature icons row: horizontal swipe strip on mobile.
       Explicitly reset display/grid props inherited from the 992px
       breakpoint above so this block is self-contained, not additive. */
    .setak-features-row {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 20px 14px 4px;
        margin-bottom: 24px;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
    }
    .setak-features-row::-webkit-scrollbar { display: none; }
    
    .setak-feature-item {
        flex: 0 0 auto;
        min-width: 96px;
        scroll-snap-align: start;
    }
    
    .setak-feature-icon {
        width: 56px;
        height: 56px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .setak-feature-item span {
        font-size: 11.5px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        max-width: 96px;
    }
    
    .setak-features-line { 
        display: none; 
    }
}

@media (max-width: 576px) {
    .setak-features-row {
        gap: 10px;
    }

    .setak-social-grid {
        max-width: 150px;
        gap: 6px;
    }

    .setak-social-badges-row {
        gap: 8px;
    }

    .setak-about-logo img {
        width: 120px;
    }
}

/* Special offers slider */
:root {
    --setak-primary: #d87f34;
    --setak-primary-dark: #c26d28;
    --setak-primary-light: #e89a5a;
    --setak-gold: #d4af37;
    --setak-beige: #d4c4a8;
    --setak-beige-light: #e8dcc8;
    --setak-white: #ffffff;
    --setak-gray-50: #f9fafb;
    --setak-gray-100: #f3f4f6;
    --setak-gray-200: #e5e7eb;
    --setak-gray-300: #d1d5db;
    --setak-gray-400: #9ca3af;
    --setak-gray-500: #6b7280;
    --setak-gray-600: #4b5563;
    --setak-gray-700: #374151;
    --setak-gray-800: #1f2937;
    --setak-gray-900: #111827;
    --setak-green: #10b981;
    --setak-border-radius: 16px;
    --setak-border-radius-sm: 12px;
    --setak-border-radius-lg: 20px;
    --setak-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --setak-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --setak-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Cart/Checkout shared tokens */
    --setak-cta: #D3A16A;
    --setak-cta-dark: #BE8A50;
    --setak-secondary: #7F8756;
    --setak-secondary-dark: #6A7147;
    --setak-cream: #F0EADC;
    --setak-cream-line: #E3D4B7;
    --setak-ink: #2C2C2C;
    --setak-card-shadow: 0 2px 10px rgba(44, 34, 20, 0.06);
    --setak-card-shadow-hover: 0 6px 20px rgba(44, 34, 20, 0.1);
}

.setak-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Header */
.setak-section-header {
    text-align: center;
    position: relative;
}

.setak-section-title {
	display: inline-block;
	background: #DC8222;
	color: var(--setak-white);
	padding: 18px 60px;
	border-radius: 25px 25px 0 0;
	font-size: 1.2rem;
	font-weight: 700;
	box-shadow: 3px -2px 3px rgba(3, 3, 3, 0.51);
	position: relative;
	z-index: 2;
}

.setak-section-title::before {
	content: '';
	position: absolute;
	top: -8px;
	right: -8px;
	width: calc(100% + 16px);
	height: calc(100% + 8px);
	background: ;
	border-radius: 0 0 var(--setak-border-radius-lg) var(--setak-border-radius-lg);
	z-index: -1;
}

/* Products Wrapper */
.setak-products-wrapper {
    position: relative;
}

.setak-products-container {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #E3D4B7;
    border-radius: 25px;
    padding: 20px;
    padding-top: 50px;
    box-shadow: 10px -10px 0px 0px #E3D4B7;
}

/* Products Slider */
.setak-products-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Product Card */
.setak-product-card {
    background: #F0EADC;
    border-radius: var(--setak-border-radius);
    padding: 10px;
    transition: var(--setak-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: calc(20% - 20px);
}

.setak-product-card:hover {
    transform: translateY(-8px);
}

/* Featured Product */
.setak-product-featured {
    border: 2px solid var(--setak-gold);
    background: linear-gradient(180deg, #fffef8 0%, var(--setak-white) 100%);
}

/* Product Badge */
.setak-product-badge {
	position: absolute;
	bottom: 140px;
	left: -25px;
	transform: translateX(50%);
	background: #DC8222;
	width: 48px;
	height: 48px;
	border-radius: 0 50% 50% 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
	z-index: 2;
	overflow: hidden;
}
.setak-product-badge-percent {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: var(--setak-white);
}

.setak-product-badge svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.setak-product-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--setak-gray-700);
    color: var(--setak-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Product Actions */
.setak-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.setak-action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--setak-white);
    color: var(--setak-gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--setak-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.setak-action-btn:hover {
    background: var(--setak-primary);
    color: var(--setak-white);
    transform: scale(1.1);
}

/* Product Timer */
.setak-product-timer {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-bottom: 16px;
	position: absolute;
	margin-top: -45px;
	background: #E8DDC4;
	border-radius: 20px;
	padding: 7px;
	right: 15px;
	left: 20px;
}

.setak-timer-item {
	background: #fff;
	border-radius: var(--setak-border-radius-sm);
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 50px;
}

.setak-timer-value {
	font-size: 1rem;
	color: var(--setak-gray-800);
	line-height: 0.4;
}

.setak-timer-label {
    font-size: 11px;
    color: var(--setak-gray-600);
    margin-top: 4px;
}

/* Product Image */
.setak-product-image {
	width: 100%;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	background: var(--setak-gray-50);
	border-radius: var(--setak-border-radius-sm);
	overflow: hidden;
}

.setak-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: initial;
    transition: var(--setak-transition);
}

.setak-product-card:hover .setak-product-image img {
    transform: scale(1.05);
}

/* Product Title */
.setak-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--setak-gray-800);
    margin-bottom: 16px;
    line-height: 1.5;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.setak-product-title a {
	text-decoration: none;
	color: #333 !important;
}

/* Product Price */
.setak-product-price {
    margin-top: auto;
    margin-bottom: 16px;
}

.setak-price-current {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.setak-price-amount {
	font-size: 1.2rem;
	font-weight: 700;
	color: #333;
}

.setak-price-currency {
    font-size: 13px;
    font-weight: 500;
    color: var(--setak-gray-600);
}

.setak-price-original {
	font-size: 13px;
	color: var(--setak-gray-400);
	text-decoration: line-through;
	position: relative;
	margin-top: -10px;
}

/* Add to Cart Button */
.setak-add-to-cart {
	width: 40px;
	height: 40px;
	border: none;
	background: #C1C895;
	color: #333;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--setak-transition);
	box-shadow: 0 4px 12px rgba(216, 127, 52, 0.3);
	align-self: center;
	position: absolute;
	left: 20px;
	bottom: 20px;
}

.setak-add-to-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(216, 127, 52, 0.4);
}

.setak-add-to-cart:active {
    transform: scale(0.95);
}

/* Slider Buttons */
.setak-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: none;
	background: #D3A16A;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--setak-transition);
	box-shadow: var(--setak-shadow);
	z-index: 10;
}

.setak-slider-btn svg {
	width: 32px;
	height: 32px;
}

.setak-slider-btn:hover {
    background: var(--setak-primary);
    color: var(--setak-white);
    box-shadow: var(--setak-shadow-hover);
}

.setak-slider-prev {
	right: -30px;
}

.setak-slider-next {
    left: -30px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .setak-products-slider {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .setak-products-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .setak-products-wrapper {
        padding: 0 20px;
    }
    
    .setak-products-slider {
        grid-template-columns: 1fr;
    }
    
    .setak-slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .setak-slider-prev {
        right: -10px;
    }
    
    .setak-slider-next {
        left: -10px;
    }
}

/* Animation for card entrance */
@keyframes setak-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.setak-product-card {
    animation: setak-fade-in-up 0.6s ease-out forwards;
}

.setak-product-card:nth-child(1) { animation-delay: 0.1s; }
.setak-product-card:nth-child(2) { animation-delay: 0.2s; }
.setak-product-card:nth-child(3) { animation-delay: 0.3s; }
.setak-product-card:nth-child(4) { animation-delay: 0.4s; }
.setak-product-card:nth-child(5) { animation-delay: 0.5s; }

/* Loading state */
.setak-product-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

.setak-product-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: setak-shimmer 1.5s infinite;
}

@keyframes setak-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Print styles */
@media print {
    .setak-slider-btn,
    .setak-action-btn,
    .setak-add-to-cart {
        display: none;
    }
    
    .setak-product-card {
        break-inside: avoid;
    }
}

@media (max-width: 768px) {
	.setak-container {
        padding: 20px 10px;
    }
    
    .setak-section-title {
        font-size: 16px;
        padding: 10px 28px;
    }
    
    .setak-products-wrapper {
        padding: 0 20px 0 10px;
    }
    
    .setak-products-slider {
        gap: 12px;
    }
    
    .setak-products-container {
        padding: 10px;
        padding-top: 15px;
    }
    .setak-product-card {
        width: 68%;
        padding: 8px;
    }
	.setak-product-timer {
        position: relative;
        margin-top: 0;
        right: auto;
        left: auto;
        margin-bottom: 10px;
        padding: 5px;
        gap: 4px;
    }
    .setak-timer-item {
        min-width: 38px;
        padding: 5px 6px;
    }
    .setak-timer-value {
        font-size: 0.8rem;
    }
    .setak-timer-label {
        font-size: 9px;
    }
	 .setak-product-image {
        height: 150px;
    }
	.setak-slider-btn {
        width: 32px;
        height: 32px;
    }
    .setak-slider-prev {
        right: -7px;
    }
    .setak-slider-next {
        left: -7px;
    }
}

/* Section home */
.section-home {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
}

.section-home-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    gap: 12px;
}

.section-home-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
}

.section-home-header-line {
    height: 1px;
    background-color: #d4b58e;
    width: 150px;
    flex-shrink: 0;
    display: inline-block;
}

.section-home-header-dot {
    width: 6px;
    height: 6px;
    background-color: #d4b58e;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.section-home-desc {
    text-align: center;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 700px;
}

@media (max-width: 768px) {
    .section-home-header-line {
        width: 50px;
    }
    .section-home-header-title {
        font-size: 16px;
    }
    .section-home-desc {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* Event grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    direction: rtl;
	margin-top:20px;
}

.section.section-slider-course {
	background-color: #fff !important;
	border: 1px solid #f0f0f0;
	border-radius: 25px;
	padding: 7px;
	box-shadow: -8px 8px 0px 0px #f3ebd8;
	transition: transform 0.3s ease;
	padding: 0 30px;
}

.event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 16px !important;
    cursor: pointer;
    text-align: center;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5a623;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.event-day {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.event-month {
    font-size: 11px;
    color: #fff;
    margin-top: 2px;
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.event-time {
    font-size: 12px;
    color: #888;
}

.event-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* BACS receipt form */

.setak-bacs-form-wrap {
    max-width: 620px;
    margin: 24px auto 0;
    direction: rtl;
    text-align: right;
}

/* Result message */
.setak-bacs-message {
    padding: 14px 16px;
    border-radius: var(--setak-border-radius-sm, 12px);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}
.setak-bacs-message.setak-bacs-success {
    background: #EEF3E6;
    border: 1px solid var(--setak-secondary, #7F8756);
    color: var(--setak-secondary-dark, #6A7147);
}
.setak-bacs-message.setak-bacs-error {
    background: #FBEAEA;
    border: 1px solid #e44;
    color: #a12b2b;
}

/* Form body (card) */
.setak-bacs-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    background: #fff;
    border: 1px solid var(--setak-cream-line, #E3D4B7);
    border-radius: var(--setak-border-radius, 16px);
    box-shadow: var(--setak-card-shadow, 0 2px 10px rgba(44,34,20,.06));
    padding: 24px;
}

.setak-bacs-form p {
    margin: 0 0 14px 0;
    grid-column: span 1;
}

/* Full-width fields */
.setak-bacs-form p:has(input[name="setak_mobile"]),
.setak-bacs-form p:has(input[name="setak_receipt_file"]),
.setak-bacs-form p:has(button[name="setak_bacs_submit"]) {
    grid-column: 1 / -1;
}

.setak-bacs-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--setak-ink, #2c2c2c);
    margin-bottom: 6px;
}

.setak-bacs-form input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--setak-ink, #2c2c2c);
    background: #fff;
    border: 1px solid var(--setak-cream-line, #E3D4B7);
    border-radius: 10px;
    transition: var(--setak-transition, all .2s);
}
.setak-bacs-form input[type="text"]:focus {
    outline: none;
    border-color: var(--setak-cta, #D3A16A);
    box-shadow: 0 0 0 3px rgba(211, 161, 106, 0.15);
}
.setak-bacs-form input[type="text"][readonly] {
    background: var(--setak-cream, #F0EADC);
    color: #8a8578;
    cursor: not-allowed;
}

/* File upload */
.setak-bacs-form input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    background: var(--setak-cream, #FAF7F0);
    border: 1px dashed var(--setak-cream-line, #E3D4B7);
    border-radius: 10px;
    cursor: pointer;
}
.setak-bacs-form input[type="file"]::file-selector-button {
    padding: 7px 16px;
    margin-inline-end: 12px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: var(--setak-secondary, #7F8756);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--setak-transition, all .2s);
}
.setak-bacs-form input[type="file"]::file-selector-button:hover {
    background: var(--setak-secondary-dark, #6A7147);
}

/* Submit button */
.setak-bacs-form button[name="setak_bacs_submit"] {
    width: 100%;
    padding: 13px 20px;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: var(--setak-cta, #D3A16A);
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 14px rgba(211, 161, 106, 0.3);
    cursor: pointer;
    transition: var(--setak-transition, all .2s);
}
.setak-bacs-form button[name="setak_bacs_submit"]:hover {
    background: var(--setak-cta-dark, #BE8A50);
    box-shadow: 0 6px 18px rgba(211, 161, 106, 0.4);
}
.setak-bacs-form button[name="setak_bacs_submit"]:active {
    transform: translateY(1px);
}

/* Responsive: single column below 600px */
@media (max-width: 600px) {
    .setak-bacs-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .setak-bacs-form p {
        grid-column: 1 / -1;
    }
}