div.wcpay-express-checkout-wrapper {
	width: 50%;
}

div.ppc-button-wrapper {
	width: 50%;
}

/* Hide avatar in WooCommerce My Account area */
.woocommerce-MyAccount-content .avatar,
.woocommerce-MyAccount-navigation .avatar,
.my-account .avatar,
.user-profile-picture {
    display: none !important;
}


/* Optional: tighten spacing after removing icons */
.woocommerce-MyAccount-navigation li a {
    padding-left: 0 !important;
}

div.wcpay-express-checkout-wrapper {
	width: 50%;
}

div.ppc-button-wrapper {
	width: 50%;
}


/* Space above the Add to wishlist button on product page */
.single-product .yith-add-to-wishlist-button-block {
    margin-top: 12px;   /* adjust 12px → 16/20px if you want more space */
}
.products + .term-description


.term-description {
    max-height: 200px !important;
    height: 200px !important;
    overflow-y: auto !important;
    display: block !important;
    padding-right: 10px; /* برای اینکه اسکرول با متن تداخل نکند */
}

.term-description h2 {
    white-space: normal !important;
    margin: 0 !important;
}


/* Horizontal text-only subcategories */
.tav-subcat-wrapper {
    margin: 20px 0 30px;
}

.tav-subcat-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
}

.tav-subcat-scroll::-webkit-scrollbar {
    height: 4px;
}

.tav-subcat-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.tav-subcat-item {
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    text-decoration: none;
    color: #111;
    background: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tav-subcat-item:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}
.tav-subcat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}
.tav-subcat-item.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 768px) {

  .mobile-accordion-item {
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
  }

  /* عنوان */
  .mobile-accordion-item .elementor-widget-heading {
    position: relative;
  }

  .mobile-accordion-item .elementor-heading-title {
    cursor: pointer;
    padding: 14px 0;
    font-weight: 600;
  }

  /* آیکن + / - */
  .mobile-accordion-item .elementor-heading-title::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    transition: transform 0.3s ease;
  }

  .mobile-accordion-item.active .elementor-heading-title::after {
    content: "−";
  }

  /* بدنه آکاردئون */
  .mobile-accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

}


/* اطمینان از اینکه هیچ هاوری چیزی نمایش نده */
.single-product-images-wrapper .woocommerce-product-gallery__image {
    pointer-events: auto;  /* اجازه تعامل طبیعی مرورگر */
}

/* =====================================================
   MOBILE BOTTOM CHECKOUT – FINAL CLEAN VERSION
   ===================================================== */

/* ===============================
   📱 ONLY PHONES (Real Mobile)
================================ */
@media (max-width: 767px) {

  /* Fixed bottom checkout */
  .pls-mobile-bottom-navbar-single-page
  .wc-proceed-to-checkout {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 18px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.05);
    z-index: 999;
    overflow: visible !important;
  }

  /* Prevent buttons being hidden */
  body {
    padding-bottom: 120px;
  }

  /* Main checkout button */
  .checkout-button {
    height: 52px;
    font-size: 14px;
    border-radius: 999px;
  }
}

/* ===============================
   📲 iPad & Medium Screens
================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  .pls-mobile-bottom-navbar-single-page
  .wc-proceed-to-checkout {
    position: static !important;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
  }

  body {
    padding-bottom: 0;
  }
}

/* ===============================
   Checkout Container – Luxury Card
================================ */
.wc-proceed-to-checkout {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================
   Stripe / BNPL Message
================================ */
#payment-method-message {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.06);
  transition: all .3s ease;
}

#payment-method-message:hover {
  background: #f5f5f5;
}

/* ===============================
   Gift Card – Clean & Elegant
================================ */
.add_gift_card_form {
  background: #fafafa;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
}

.add_gift_card_form h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  margin-bottom: 10px;
  color: #111;
}

#wc_gc_cart_redeem_form {
  display: flex;
  gap: 10px;
}

#wc_gc_cart_code {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
}

#wc_gc_cart_code:focus {
  outline: none;
  border-color: #000;
}

#wc_gc_cart_redeem_send {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
  transition: all .25s ease;
}

#wc_gc_cart_redeem_send:hover {
  background: #222;
}

/* ===============================
   Main Checkout Button – HERO
================================ */
.checkout-button {
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #000 0%, #222 100%);
  color: #fff !important;
  font-size: 15px;
  letter-spacing: .8px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s ease;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.checkout-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* ===============================
   PayPal / Stripe Iframes
================================ */
.ppcp-messages,
.ppc-button-wrapper {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.05);
}

.ppcp-messages iframe,
.ppc-button-wrapper iframe {
  border-radius: 12px !important;
}

.ppcp-messages,
.ppc-button-wrapper {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.cart_totals #payment-method-message {
    background: none;
    border: none;
}

.ppcp-messages iframe {
  padding: 3px;
}

/* for cart icon */
.elementor-2599 .elementor-element.elementor-element-33db084 #elementor-menu-cart__toggle_button:after {
    color: #ffff !important;
}


/* Remove border from all Elementor Nested Accordions */
.e-n-accordion,
.e-n-accordion *,
.e-n-accordion-item {
    border: none !important;
    box-shadow: none !important;
}

/* Elementor Post Info tags → Tag Cloud style */
/* Tag cloud style ONLY for specific Post Info widget */
.elementor-element-9669997
.elementor-post-info__terms-list
a.elementor-post-info__terms-list-item {
    display: inline-flex !important;
    align-items: center;

    border-top: var(--pls-border-top) !important;
    border-right: var(--pls-border-right) !important;
    border-bottom: var(--pls-border-bottom) !important;
    border-left: var(--pls-border-left) !important;

    font-size: 15px !important;
    padding: 1px 10px !important;
    margin: 0 5px 8px 0 !important;

    font-weight: 400;
    position: relative;
    word-wrap: break-word;
    z-index: 0;

    transition: background-color 0.2s ease-in-out,
                border-color 0.2s ease-in-out,
                color 0.3s ease-in-out;
}
.elementor-element-9669997 .elementor-post-info__terms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.elementor-element-9669997 .elementor-post-info__terms-list-item {
    margin: 0 !important;
}

/* this is for COOKIE button position*/
@media (max-width: 767px) {
  html body .cky-btn-revisit-wrapper,
  html body .cky-btn-revisit-wrapper.cky-revisit-bottom-left,
  html body [data-cky-tag="revisit-consent"] {
    position: fixed !important;
    left: 16px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(120px + env(safe-area-inset-bottom)) !important;
    transform: none !important;
    z-index: 2147483647 !important;
  }
}

body.tax-product_collection .pls-canvas-sidebar,body.tax-product_collection .canvas-sidebar-icon{display:none !important;}body.tax-product_collection .products-wrap,body.tax-product_collection .products{width:100% !important;max-width:100% !important;margin-left:0 !important;margin-right:0 !important;}body.tax-product_collection .woocommerce.columns-4,body.tax-product_collection .woocommerce{width:100% !important;max-width:100% !important;}