/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/*loop carousel*/
/* محو تدریجی دو لبه به شفاف، بدون رنگ‌گذاری روی محتوا */
.product-carousel{
  --fade: 56px; /* پهنای محوشدن هر سمت، تغییرش بده */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

/* موبایل، محوشدن کمتر */
@media (max-width:768px){
  .product-carousel{ --fade: 32px; }
}

/*Product page*/

.product-hero{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/*theme custom css for mobile */
.ct-panel.ct-header.active {
  z-index:50;
	padding-top:12vh
}

/* لینک پاک کردن انتخاب ورییشن را همیشه پنهان کن */
form.variations_form .reset_variations,
.variations .reset_variations {
  display: none !important;
}


/*سبد خرید جدول*/
.shopengine .ct-increase{
    display: none !important;
}
.shopengine .ct-decrease{
    display: none !important;
}
.shopengine-footer-button.clear-btn {
    margin-right: auto !important;
}
.shopengine-table{
    text-align: center !important;
}
.shopengine-table__body-item--td.product-quantity{
    transform: scale(0.75) !important;
}
.shopengine-woocommerce-info.woocommerce-info {
    background-color: #404040F7 !important;
    border-width: 0px !important;
}
.woocommerce-info-toggle::before {
    display: none !important;
}
.woocommerce-shipping-totals.shipping td::before {
    display: none !important; 
}
tr.cart-subtotal{
    display: none;
}
.shopengine-table__head {
    padding: 10px 0 10px 0 !important; 
}

.select2-container select2-container--default select2-container--open .select2-dropdown select2-dropdown--below .select2-search select2-search--dropdown .select2-search__field{
    background: transparent !important;
}
.select2-container--default .select2-selection--single{
    background: transparent !important;
}
.select2-dropdown{
    background: transparent !important;
}
body .select2-container--default .select2-dropdown,
body .select2-container--default .select2-search--dropdown,
body .select2-container--default .select2-search__field,
body .select2-container--default .select2-results,
body .select2-container--default .select2-results__options{
    background: black !important;
    background-color: black !important;
    background-image: none !important;
    box-shadow: none !important;
}
form.cart.variations_form .woocommerce-variation-add-to-cart {
    display: flex !important;
    justify-content: flex-end !important;
}
.woocommerce-shipping-methods label {
    font-family: "iranyekan" !important;
}
#shipping_method {
    display: flex !important;
    justify-content: flex-end !important;
}

