/* 
custom-css description
*/

body{
	font-family: Fabrics !important;
}
.elementor-button-icon svg {
    height: auto;
    width: auto;
}
.max-content{
        width: max-content !important;
}
.woocommerce .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
}
.hoverzoom{
  background-repeat: no-repeat !important;
  background-position: center center !important;
  transition: background-size 0.5s ease-in-out !important;
}
.hoverzoom:hover {
  background-size: 150% !important;
}
a {
    color: var(--e-global-color-primary);
}

.elementor-button-content-wrapper {
    align-items: center;
}

.slider-prdct,
.slider-parents {
  cursor: grab;
  user-select: none;
  scroll-behavior: auto; /* 👈 مهم! */
  -webkit-overflow-scrolling: touch; /* برای iOS */
  will-change: scroll-position; /* بهینه‌سازی GPU */
  overflow:auto
}
.slider-prdct .elementor-loop-container.elementor-grid {
    display: flex;
    width: max-content;
}
.slider-prdct .e-loop-item {
    width: 320px;
}
@media (max-width: 768px) {
    .slider-prdct .e-loop-item {
    width: 310px;
}
}
.slider-parents::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
.slider-parents::-webkit-scrollbar-thumb {
    background: var(--e-global-color-secondary);
    border-radius: 0px;
}
.slider-parents::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
}
.slider-prdct::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
.slider-prdct::-webkit-scrollbar-thumb {
    background: var(--e-global-color-secondary);
    border-radius: 0px;
}
.slider-prdct::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
}
.slider-prdct:active,
.slider-parents:active {
  cursor: grabbing;
}

.slider-prdct img,
.slider-parents img {
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}
/* استایل برای دکمه‌ها */
.slider-prev, .slider-next {
    background-color: white !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    padding: 7px 12px 7px 9px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: background-color 0.3s, box-shadow 0.3s !important;
    display: flex;
	z-index: 1;
	display: none;
}
@media (min-width:768px) {
  #hidden .slider-prev, #hidden .slider-next {
display:none 
}
}
.slider-prev i, .slider-next i {
  color: #333 !important; /* رنگ آیکن */
}

.slider-prev:hover, .slider-next:hover {
  background-color: #f1f1f1 !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important; /* سایه شدیدتر هنگام هاور */
}
/* استایل برای چیدمان دکمه‌ها */
.slider-prev {
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.slider-next {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea, select {
    border-radius: 4px;
    background-color: #FFF;
    color: var(--e-global-color-text);
    height: 52px;
    border: 1.25px solid #F6F6F6;
    padding: 10px 15px !important;
}
input, textarea {
    font-family: Fabrics !important;
}
.gform_footer input:not([type="submit"]) {
    display: none !important;
}
.gform_wrapper.gravity-theme .gfield_label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}
.gform_heading {
    display: none;
}
.gform_confirmation_message span {
    color: var( --e-global-color-text ) !important;
}
div#reply-title {
    font-weight: 600;
    font-size: 18px;
}
#comments label {
    color: #7D7D7D;
	font-weight: 400
}
input[type=submit], input[type=button] {
    font-size: 16px;
    background: var(--e-global-color-primary) !important;
    color: #fff !important;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 4px;
    cursor: pointer;
    height: 100%;
	transition: 0.3s all ease
}
input[type=submit]:hover, input[type=button]:hover {
	color: var(--e-global-color-primary) !important;
	background: #fff !important;
	transition: 0.3s all ease
}
.gfield input[type=submit] {
		height: 52px;
}
blockquote {
    background: var(--e-global-color-text);
    border: 2px solid var(--e-global-color-accent);
    border-radius: 35px;
    padding: 25px 40px;
    margin-inline: 0;
}
blockquote strong{
    margin-right: 20px
}
blockquote strong:before {
    content: '';
    background: url(https://tehran-server.ir/anka/wp-content/uploads/2025/08/lamp-svgrepo-com-1.svg);
    width: 25px;
    position: absolute;
    right: 35px;
    height: 20px;
    background-size: cover;
}
p.price {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}
del .woocommerce-Price-currencySymbol {
    display: none;
}
del {
    font-size: 14px;
    font-weight: 700;
    color: var(--e-global-color-secondary);
    text-decoration: line-through;
}
del bdi {
    font-size: 14px;
}
bdi {
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}
ins {
    text-decoration: none;
}
span.woocommerce-Price-currencySymbol {
    font-size: 20px;
    margin-right: 4px;
}
.elementor-menu-cart__products {
    flex: 1 1 auto;
}
.elementor-menu-cart__subtotal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 15px;
    font-weight: 500;
}
.elementor-menu-cart__footer-buttons {
    display: flex;
    flex-direction: column;
}
a.elementor-button.elementor-button--view-cart.elementor-size-md {
    border-radius: 12px;
    background: var(--e-global-color-primary);
}
a.elementor-button.elementor-button--checkout.elementor-size-md {
    background: var(--e-global-color-secondary);
    border-radius: 12px;
}
.elementor-menu-cart__main .elementor-button-text {
    font-size: 14px;
    font-weight: 500;
}
.elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item {
    padding-top: 15px;
}
.elementor-menu-cart__product-remove:after, .elementor-menu-cart__product-remove:before {
    background: var(--e-global-color-text);
}
.elementor-menu-cart__product-remove.product-remove {
    top: 15px;
    border: none;
}
.elementor-menu-cart__product-price.product-price {
    display: flex
;
    justify-content: flex-end;
}
.elementor-menu-cart__product-price.product-price .quantity {
    display: flex
;
    align-items: center;
    gap: 10px;
}
.elementor-menu-cart__product-price.product-price .quantity .product-quantity {
    color: var(--e-global-color-ae7f402);
}
.elementor-menu-cart__product-price.product-price .quantity .woocommerce-Price-amount.amount {
    color: var(--e-global-color-secondary);
    font-weight: 700;
}
.elementor-menu-cart__main {
    padding: 15px 15px;
}
html[dir=rtl] .gform_wrapper.gravity-theme code, html[dir=rtl] .gform_wrapper.gravity-theme input[type=email], html[dir=rtl] .gform_wrapper.gravity-theme input[type=tel], html[dir=rtl] .gform_wrapper.gravity-theme input[type=url] {
    direction: ltr;
}

