/*
Theme Name: MANA Flatsome
Description: This is a child theme for Flatsome Theme
Author: Iran Flatsome & Mana Group
Theme URI: http://flatsomee.ir/
Author URI: http://flatsomee.ir/
Template: flatsome
Version: 3.10.7
*/

/* ==========================================================
   متغیرهای عمومی
   ========================================================== */

:root {
  --sep-radius: 8px;
  --sep-primary: #1e73be;
  --sep-primary-dark: #155a96;
  --sep-border: #e3e6ea;
  --sep-bg: #ffffff;
  --sep-muted: #6b7280;
}


/* ==========================================================
   مخفی کردن ناوبری قبلی/بعدی محصول
   ========================================================== */

html body #product-sidebar,
html body .product-sidebar-small,
html body .next-prev-thumbs {
  display: none !important;
}


/* ==========================================================
   کارت محصول در آرشیو و فروشگاه
   ========================================================== */

.product-small.box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px -4px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-small.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,.14), 0 6px 10px rgba(0,0,0,.08);
}

.col:has(> .col-inner > .product-small.box) {
  padding: 0 12px 28px;
}

.product-small.box .box-text {
  padding: .9em 1.1em 1.2em;
}

.product-small.box .title-wrapper p.category {
  margin: 0 0 .3em;
  font-size: .75em;
  letter-spacing: .02em;
}

.product-small.box .title-wrapper p.name.product-title {
  margin: 0 0 .6em;
  font-size: 1em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-small.box .price-wrapper {
  margin-top: .5em;
  padding-top: .6em;
  border-top: 1px solid rgba(0,0,0,.09);
}
.product-small.box .price-wrapper .price {
  font-weight: 400;
  font-size: 1.05em;
}
.product-small.box .price-wrapper .price > span[aria-hidden="true"]:not(.amount) {
  display: none;
}
.product-small.box .price-wrapper .price .woocommerce-Price-amount.amount ~ .woocommerce-Price-amount.amount {
  display: none;
}
.product-small.box .price .woocommerce-Price-amount.amount bdi {
  display: inline-flex;
  align-items: baseline;
  gap: .2em;
}

.product-small.box .box-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.product-small.box .box-image > div:first-child {
  position: relative;
  width: 100%;
  height: 100% !important;
  padding-bottom: 0 !important;
}

.product-small.box .box-image > div:first-child > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.product-small.box .box-image img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
}

.product-small.box .image-tools.grid-tools {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .25s ease;
}
.product-small.box:hover .image-tools.grid-tools {
  opacity: 1;
}
.product-small.box .quick-view {
  display: inline-block;
  width: auto;
  background: rgba(255,255,255,.95);
  color: #111 !important;
  padding: .55em 1.4em;
  border-radius: 999px;
  font-size: .85em;
  font-weight: 600;
  text-decoration: none;
}


/* ==========================================================
   جستجو و مرتب‌سازی
   ========================================================== */

.widget_product_search input:not([type=submit]),
.widget_product_search select,
.widget_product_search textarea {
  background-color: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.09);
  border-radius: 99px;
  box-shadow: none;
  color: currentColor !important;
}
.widget_product_search button,
.widget_product_search input {
  border-radius: 99px;
}
.widget_product_search .button.icon {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: currentColor !important;
}

.woocommerce-ordering select.orderby {
  background-color: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 99px;
  box-shadow: none;
  padding: .6em 2.2em .6em 1.2em;
  color: currentColor;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1em center;
  background-size: 16px;
}


/* ==========================================================
   صفحه محصول: کادرها و محتوا
   ========================================================== */

.product-info,
.product-gallery .product-images {
  background: var(--sep-bg);
  border: 1px solid var(--sep-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.product-info {
  padding: 24px;
}

.product-gallery .product-images {
  padding: 12px;
  overflow: hidden;
}

.product-info .product-title {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.product-info .woocommerce-variation-price .price,
.product-info .price-wrapper .price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sep-primary-dark);
  margin: 12px 0;
}

.product-info .price .woocommerce-Price-currencySymbol {
  font-size: .8em;
  font-weight: 500;
  margin-left: 4px;
}

.product-info .price-from {
  font-size: .85rem;
  font-weight: 400;
  color: var(--sep-muted);
}

.product-info .product-short-description {
  background: #f7f9fb;
  border: 1px solid var(--sep-border);
  padding: 12px 14px;
  margin: 12px 0;
  font-size: .95rem;
  line-height: 1.9;
}
.product-info .product-short-description p:last-child {
  margin-bottom: 0;
}

.product-info .spec-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
}
.product-info .spec-list li {
  margin: 0;
  padding: 8px 12px;
  background: #f7f9fb;
  border: 1px solid var(--sep-border);
  font-size: .9rem;
}

.product-info .product_meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--sep-border);
  font-size: .85rem;
  color: var(--sep-muted);
  text-align: right;
}
.product-info .product_meta > span {
  display: block;
  margin-bottom: 4px;
}


/* ==========================================================
   صفحه محصول: انتخاب متغیر، تعداد و دکمه خرید
   ========================================================== */

.product-info table.variations {
  margin-bottom: 12px;
}
.product-info table.variations th.label {
  display: block;
  padding: 0 0 6px;
  text-align: right;
  font-weight: 600;
}
.product-info table.variations td.value {
  display: block;
  padding: 0;
}
.product-info table.variations select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--sep-border);
  background-color: #fff;
  box-shadow: none;
}
.product-info table.variations select:focus {
  border-color: var(--sep-primary);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, .15);
}

.product-info .reset_variations {
  display: inline-block;
  margin-top: 6px;
  font-size: .8rem;
  color: var(--sep-muted);
}

.product-info .ux-quantity {
  border: 1px solid var(--sep-border);
  overflow: hidden;
  margin: 0 0 0 10px;
}
.product-info .ux-quantity .ux-quantity__button,
.product-info .ux-quantity input.qty {
  height: 46px;
  margin: 0;
  box-shadow: none;
}

.product-info .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.product-info .single_add_to_cart_button {
  flex: 1;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0 20px;
  background: var(--sep-primary) !important;
  border: 0 !important;
  box-shadow: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  transition: background .2s ease;
}
.product-info .single_add_to_cart_button:hover {
  background: var(--sep-primary-dark) !important;
}
.product-info .single_add_to_cart_button.disabled {
  opacity: .5;
}


/* ==========================================================
   گوشه‌های مستطیلی (بازنویسی استایل Flatsome)
   ========================================================== */

html body .product-info,
html body .product-gallery .product-images,
html body .product-info .product-short-description,
html body .product-info .spec-list li,
html body .product-info .ux-quantity,
html body .product-info select,
html body .product-info .button,
html body .product-info button,
html body .product-info input[type="submit"],
html body .product-info .single_add_to_cart_button,
html body .product-gallery .zoom-button.circle {
  border-radius: var(--sep-radius) !important;
}

html body .product-info .ux-quantity .ux-quantity__button,
html body .product-info .ux-quantity input.qty {
  border-radius: 0 !important;
}


/* ==========================================================
   موبایل: نوار خرید ثابت پایین صفحه
   ========================================================== */

@media (max-width: 849px) {
  .product-info {
    padding: 16px;
  }

  .product-info .product-title {
    font-size: 1.2rem;
  }

  .product-info .woocommerce-variation-add-to-cart {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    margin: 0;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--sep-border);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .08);
  }

  .product-info .ux-quantity {
    margin: 0;
  }

  body.single-product {
    padding-bottom: 72px;
  }
}


/* ==========================================================
   تب‌های محصول
   ========================================================== */

html body .woocommerce-tabs {
  margin-top: 32px;
}

html body .woocommerce-tabs ul.wc-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 8px;
  margin: 0 0 18px !important;
  padding: 6px !important;
  background: #f4f6f8;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: calc(var(--sep-radius, 8px) + 4px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html body .woocommerce-tabs ul.wc-tabs::-webkit-scrollbar {
  display: none;
}

html body .woocommerce-tabs ul.wc-tabs::before,
html body .woocommerce-tabs ul.wc-tabs::after,
html body .woocommerce-tabs ul.wc-tabs > li::before,
html body .woocommerce-tabs ul.wc-tabs > li::after {
  display: none !important;
}

html body .woocommerce-tabs ul.wc-tabs > li {
  display: block !important;
  flex: 0 0 auto !important;
  float: none !important;
  position: static !important;
  width: auto !important;
  margin: 0 !important;
}

html body .woocommerce-tabs ul.wc-tabs > li > a {
  display: block !important;
  padding: 10px 18px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  color: #5b6570 !important;
  background: transparent;
  border-radius: var(--sep-radius, 8px);
  transition: background .2s, color .2s, box-shadow .2s;
}

html body .woocommerce-tabs ul.wc-tabs > li > a:hover {
  color: var(--sep-primary, #1e73be) !important;
  background: rgba(30, 115, 190, .08);
}

html body .woocommerce-tabs ul.wc-tabs > li.active > a {
  color: #fff !important;
  background: var(--sep-primary, #1e73be);
  box-shadow: 0 4px 12px rgba(30, 115, 190, .28);
}

html body .woocommerce-tabs .panel,
html body .woocommerce-tabs .tab-panels > .panel {
  padding: 24px !important;
  background: #fff;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: calc(var(--sep-radius, 8px) + 4px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
  line-height: 2;
  color: #333;
}

html body .woocommerce-tabs .panel h2,
html body .woocommerce-tabs .panel h3 {
  position: relative;
  margin: 0 0 14px;
  padding-right: 14px;
  font-size: 20px;
  line-height: 1.7;
}
html body .woocommerce-tabs .panel h2::before,
html body .woocommerce-tabs .panel h3::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--sep-primary, #1e73be);
}

html body .woocommerce-tabs .panel img {
  border-radius: var(--sep-radius, 8px);
}

html body .woocommerce-tabs table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: var(--sep-radius, 8px);
}
html body .woocommerce-tabs table.woocommerce-product-attributes th {
  width: 30%;
  background: #f4f6f8;
  font-weight: 600;
}
html body .woocommerce-tabs table.woocommerce-product-attributes th,
html body .woocommerce-tabs table.woocommerce-product-attributes td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sep-border, #e3e6ea);
}
html body .woocommerce-tabs table.woocommerce-product-attributes tr:last-child th,
html body .woocommerce-tabs table.woocommerce-product-attributes tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 849px) {
  html body .woocommerce-tabs ul.wc-tabs > li > a {
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
  html body .woocommerce-tabs .panel,
  html body .woocommerce-tabs .tab-panels > .panel {
    padding: 16px !important;
  }
  html body .woocommerce-tabs .panel h2,
  html body .woocommerce-tabs .panel h3 {
    font-size: 17px;
  }
}


/* ==========================================================
   بخش نقد و بررسی
   ========================================================== */

html body #reviews {
  margin: 0;
}

html body #reviews .woocommerce-Reviews-title {
  position: relative;
  margin: 0 0 16px;
  padding-right: 14px;
  font-size: 20px;
  line-height: 1.7;
}
html body #reviews .woocommerce-Reviews-title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--sep-primary, #1e73be);
}

html body #reviews .woocommerce-noreviews {
  margin: 0 0 24px;
  padding: 18px 16px;
  text-align: center;
  color: #5b6570;
  background: #f4f6f8;
  border: 1px dashed var(--sep-border, #e3e6ea);
  border-radius: var(--sep-radius, 8px);
}

html body #reviews .review-form-inner {
  padding: 20px !important;
  background: #fafbfc;
  border: 1px solid var(--sep-border, #e3e6ea) !important;
  border-radius: calc(var(--sep-radius, 8px) + 4px);
}

html body #reviews .comment-reply-title {
  display: block;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

html body #reviews .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}
html body #reviews .comment-form .required {
  color: #d63638;
}

html body #reviews .comment-form-rating {
  margin-bottom: 14px;
}
html body #reviews p.stars {
  margin: 0;
}
html body #reviews p.stars a {
  color: #f5a623;
}

html body #reviews textarea#comment {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: var(--sep-radius, 8px) !important;
  box-shadow: none;
  line-height: 1.9;
  transition: border-color .2s, box-shadow .2s;
}
html body #reviews textarea#comment:focus {
  outline: 0;
  border-color: var(--sep-primary, #1e73be);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, .15);
}

html body #reviews .form-submit {
  margin: 14px 0 0;
}
html body #reviews input#submit {
  min-width: 140px;
  margin: 0;
  padding: 0 28px;
  height: 44px;
  font-weight: 700;
  color: #fff;
  background: var(--sep-primary, #1e73be);
  border: 0;
  border-radius: var(--sep-radius, 8px) !important;
  box-shadow: 0 4px 12px rgba(30, 115, 190, .28);
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
html body #reviews input#submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

html body #reviews .commentlist {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
html body #reviews .commentlist > li {
  margin-bottom: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: var(--sep-radius, 8px);
}

@media (max-width: 849px) {
  html body #reviews .review-form-inner {
    padding: 14px !important;
  }
  html body #reviews .woocommerce-Reviews-title {
    font-size: 17px;
  }
  html body #reviews input#submit {
    width: 100%;
  }
}

/* ================================================
   پیام هشدار زیر گالری
   ================================================ */
html body .sep-under-gallery {
  margin: 18px 0 0;
  clear: both;
}

html body .sep-notice {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff1d6 100%);
  border: 1px solid #f7d28a;
  border-radius: var(--sep-radius, 8px);
  box-shadow: 0 2px 10px rgba(230, 126, 0, .08);
  color: #7a4300;
  font-size: 13.5px;
  line-height: 1.9;
}
html body .sep-notice::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 var(--sep-radius, 8px) var(--sep-radius, 8px) 0;
  background: #e67e00;
}
html body .sep-notice__icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  font-size: 15px;
}
html body .sep-notice__body p {
  margin: 0 !important;
  padding: 0;
}
html body .sep-notice__body p + p {
  margin-top: 6px !important;
}

/* ================================================
   بخش اعتماد بالای تب‌ها
   ================================================ */
html body .sep-trust {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
html body .sep-trust__item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--sep-border, #e3e6ea);
  border-radius: var(--sep-radius, 8px);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .04);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  color: #2b3440;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
html body .sep-trust__item:hover {
  transform: translateY(-2px);
  border-color: var(--sep-primary, #1e73be);
  box-shadow: 0 6px 16px rgba(30, 115, 190, .12);
}
html body .sep-trust__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eaf3fc, #d7e9f8);
  border-radius: 50%;
  font-size: 18px;
}

@media (max-width: 549px) {
  html body .sep-trust {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  html body .sep-trust__item {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    font-size: 12px;
  }
}


/* ==========================================================
   صفحه تسویه‌حساب (Checkout)
   ========================================================== */


.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: var(--sep-bg);
  border: 1px solid var(--sep-border);
  border-radius: calc(var(--sep-radius) + 4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  padding: 24px;
  margin-bottom: 20px;
}
 
.woocommerce-checkout .woocommerce-shipping-fields {
  background: var(--sep-bg);
  border: 1px solid var(--sep-border);
  border-radius: calc(var(--sep-radius) + 4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  padding: 18px 24px;
  margin-bottom: 20px;
}
 
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  position: relative;
  margin: 0 0 20px;
  padding-right: 14px;
  font-size: 18px;
  line-height: 1.7;
}
.woocommerce-checkout .woocommerce-billing-fields h3::before,
.woocommerce-checkout #order_review_heading::before {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--sep-primary);
}
 
.woocommerce-checkout #ship-to-different-address {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.woocommerce-checkout #ship-to-different-address .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
 
.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2b3440;
}
.woocommerce-checkout .form-row label .required {
  color: #d63638;
}
.woocommerce-checkout .form-row label .optional {
  font-weight: 400;
  color: var(--sep-muted);
  font-size: 12px;
}
 
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  background-color: #fff;
  border: 1px solid var(--sep-border) !important;
  border-radius: var(--sep-radius) !important;
  box-shadow: none !important;
  color: #2b3440;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.woocommerce-checkout textarea {
  min-height: 90px;
  padding: 12px 14px;
  line-height: 1.8;
}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: 0;
  border-color: var(--sep-primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, .15) !important;
}
.woocommerce-checkout .woocommerce-invalid .input-text,
.woocommerce-checkout input[aria-invalid="true"] {
  border-color: #d63638 !important;
}
 
.woocommerce-checkout #billing_address_1,
.woocommerce-checkout #shipping_address_1 {
  height: 64px;
}
 
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 46px !important;
  border: 1px solid var(--sep-border) !important;
  border-radius: var(--sep-radius) !important;
  display: flex;
  align-items: center;
}
.woocommerce-checkout .select2-container .select2-selection__rendered {
  padding: 0 14px !important;
  line-height: 44px !important;
}
.woocommerce-checkout .select2-container--open .select2-selection--single {
  border-color: var(--sep-primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, .15) !important;
}
 
.woocommerce-checkout .form-row {
  margin: 0 0 16px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0 20px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
  width: 100% !important;
  float: none !important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
  width: calc(50% - 10px) !important;
}
 
.woocommerce-checkout .col-inner.has-border {
  border: 1px solid var(--sep-border) !important;
  border-radius: calc(var(--sep-radius) + 4px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  overflow: hidden;
}
.woocommerce-checkout .checkout-sidebar {
  padding: 24px;
}
 
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sep-muted);
  border-bottom: 1px solid var(--sep-border);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
  padding: 10px 0;
  border-bottom: 1px solid var(--sep-border);
  font-size: 14px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sep-primary-dark);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .shipping__table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table .shipping__table td {
  border: 0;
  padding: 4px 0;
}
 
.woocommerce-checkout ul.shipping__list,
.woocommerce-checkout ul.wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.woocommerce-checkout .shipping__list_item,
.woocommerce-checkout li.wc_payment_method {
  position: relative;
  margin-bottom: 8px;
  padding: 12px 14px;
  background: #f7f9fb;
  border: 1px solid var(--sep-border);
  border-radius: var(--sep-radius);
  transition: border-color .2s ease, background .2s ease;
}
.woocommerce-checkout .shipping__list_item:has(input:checked),
.woocommerce-checkout li.wc_payment_method:has(input.input-radio:checked) {
  border-color: var(--sep-primary);
  background: rgba(30, 115, 190, .05);
}
.woocommerce-checkout .shipping__list_label,
.woocommerce-checkout li.wc_payment_method > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.woocommerce-checkout .payment_box {
  margin-top: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sep-border);
  border-radius: var(--sep-radius);
  font-size: 13px;
  line-height: 1.9;
  color: var(--sep-muted);
}
.woocommerce-checkout .payment_box p:last-child {
  margin-bottom: 0;
}
 
.woocommerce-checkout #place_order {
  width: 100%;
  height: 50px;
  margin: 0;
  background: var(--sep-primary) !important;
  border: 0 !important;
  border-radius: var(--sep-radius) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  transition: background .2s ease;
}
.woocommerce-checkout #place_order:hover {
  background: var(--sep-primary-dark) !important;
}
 
.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--sep-muted);
}
 
.page-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 20px;
}
.page-checkout .woocommerce-form-coupon-toggle .message-wrapper {
  background: #f7f9fb;
  border: 1px solid var(--sep-border);
  border-radius: var(--sep-radius);
  padding: 12px 16px;
  font-size: 13px;
}
.page-checkout .showcoupon {
  color: var(--sep-primary);
  font-weight: 600;
}
.page-checkout .checkout_coupon.has-border.is-dashed {
  border: 1px dashed var(--sep-border) !important;
  border-radius: var(--sep-radius);
  padding: 16px !important;
  margin-bottom: 20px;
}
 
@media (max-width: 849px) {
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout .checkout-sidebar {
    padding: 16px;
  }
}
@media (max-width: 549px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
    width: 100% !important;
  }
}
 


/* ==========================================================
   سبد خرید
   ========================================================== */

.wp-block-woocommerce-cart .wc-block-cart__submit-button {
  background: var(--sep-primary) !important;
  border: 0 !important;
  border-radius: var(--sep-radius) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  height: 50px;
  padding: 0 24px;
  transition: background .2s ease;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: var(--sep-primary-dark) !important;
  color: #fff !important;
}
 
.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
  border: 1px solid var(--sep-border) !important;
  border-radius: var(--sep-radius) !important;
  overflow: hidden;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button {
  background: #f7f9fb !important;
  color: #2b3440 !important;
  transition: background .2s ease, color .2s ease;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: var(--sep-primary) !important;
  color: #fff !important;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
  border-color: var(--sep-border) !important;
}
 
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link,
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg {
  color: var(--sep-muted);
  transition: color .2s ease;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg path {
  fill: currentColor;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover,
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover svg {
  color: #d63638;
}
 
.wp-block-woocommerce-cart .wc-block-components-panel__button {
  color: var(--sep-primary-dark);
  font-weight: 600;
  font-size: 13px;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button-icon path {
  fill: var(--sep-primary);
}
  
#cart-popup .woocommerce-mini-cart__buttons.buttons {
  display: flex;
  gap: 10px;
}
#cart-popup .woocommerce-mini-cart__buttons.buttons .button {
  flex: 1;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: var(--sep-radius) !important;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
 
#cart-popup .woocommerce-mini-cart__buttons.buttons .button.wc-forward:not(.checkout) {
  background: #fff !important;
  border: 1px solid var(--sep-primary) !important;
  color: var(--sep-primary) !important;
}
#cart-popup .woocommerce-mini-cart__buttons.buttons .button.wc-forward:not(.checkout):hover {
  background: rgba(30, 115, 190, .08) !important;
}
 
#cart-popup .woocommerce-mini-cart__buttons.buttons .button.checkout {
  background: var(--sep-primary) !important;
  border: 0 !important;
  color: #fff !important;
}
#cart-popup .woocommerce-mini-cart__buttons.buttons .button.checkout:hover {
  background: var(--sep-primary-dark) !important;
  color: #fff !important;
}
 
#cart-popup .remove.remove_from_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--sep-muted);
  font-size: 16px;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}
#cart-popup .remove.remove_from_cart_button:hover {
  background: rgba(214, 54, 56, .1);
  color: #d63638;
}
 



/* ==========================================================
   هدر و منو
   ========================================================== */

 
#header .nav-dropdown.nav-dropdown-default {
  background: var(--sep-bg);
  border: 1px solid var(--sep-border);
  border-radius: var(--sep-radius);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  padding: 8px;
  min-width: 220px;
}
 
#header .nav-dropdown.nav-dropdown-default .menu-item {
  margin: 0;
}
 
#header .nav-dropdown.nav-dropdown-default .menu-item > a {
  display: block;
  padding: 10px 14px;
  border-radius: calc(var(--sep-radius) - 2px);
  font-size: 14px;
  font-weight: 500;
  color: #2b3440 !important;
  background: transparent !important;
  transition: background .2s ease, color .2s ease;
}
 
#header .nav-dropdown.nav-dropdown-default .menu-item > a:hover,
#header .nav-dropdown.nav-dropdown-default .menu-item.active > a {
  background: rgba(30, 115, 190, .08) !important;
  color: var(--sep-primary) !important;
}
 
#header .nav-dropdown.nav-dropdown-default .menu-item + .menu-item {
  margin-top: 2px;
}