/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 
 *:focus:not(button):not(input):not(textarea):not(select):not([contenteditable="true"]) {
    outline: none !important;
}

.blockreassurance_product {
    display: none !important;
}
#carousel {
    border-radius: 20px;
    box-shadow: 0 0 5px rgb(116, 116, 116);
    overflow: hidden;
}
.all-product-link {
    border: 2px groove #ff0022;
    border-radius: 10px;
    padding: 0.5em 2em;
    transition-duration: 300ms;
}
.all-product-link:hover {
    border: 2px groove #ff0000;
    background: #dddddd;
}
.wishlist-button-add i.material-icons {
    color: #ff0022 !important;
}
.product-flag {
    background-color: #ff0022 !important;
}
.product-flag .on-sale {
    border-radius: 5px;
}
.thumbnail-container {
    border-radius: 10px;
}
.quick-view:hover {
    color: #ff0022 !important;
}

.btn-primary {
    background: #ff0022 !important;
    border-radius: 5px;
}
.btn-primary:hover {
    background: #ff0022be !important;
}
.btn-default {
    background: #ff0022 !important;
}
.btn-default:hover {
    background: #ff0022be !important;
}
/* a {
    color: #dd0022;
}
a:hover {
    color: #aa0022;
}
a:focus {
    color: #aa0022 !important;
}
a:active {
    color: #aa0022 !important;
} */
#category-description {
    width: 100% !important;
}
#category-description img{
    width: 100% !important;
    height: auto !important;
}
#category-description table {
    width: 100% !important;
}

.subcategory-image {
    display: hidden !important;
}
#category #subcategories ul li .subcategory-image a {border:none !important;}
#category #subcategories ul li .subcategory-image a:hover {border:none !important;}
#category #subcategories ul li .subcategory-image {border:none !important;}
#subcategories ul li:hover .subcategory-image a {padding: 9px;}

.subcategory-name {color: #ff0022 !important;}
.select-list:hover {
    background-color: #ff0022 !important;
}
.pagination .current a {
    color: #ff0022 !important;
}

.discount-amount {
    background: black !important;
}
.current-price-value {
    color: black !important;
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover{
    color: #ff0022 !important;
    border-color: #ff0022 !important;
}
.modal-dialog .product-name a{
    color: #ff0022 !important;
}

.cart-overview .price {
    color: black !important;
}
.js-show-details, #cart-summary-product-list .product-price {
    color: black !important;
}
#cart-summary-product-list .product-name a {color: black !important}
#cart-summary-product-list .product-name:hover .product-name a {color:black !important; opacity: 0.8 !important}
.card-block div[style*="background:red;color:white;padding:10px;font-size:20px;"] {
    display: none !important;
}

.content a {
    color: black !important;
}
.content a:hover {
    color: black !important;
    opacity: 0.8;
}
.js-address-item.address-item.selected {
    border-color: #ff0022 !important;
}
.custom-radio input[type=radio]:checked+span {
    background-color: #ff0022 !important;
}

.table-product-discounts tr th:nth-child(3) {
    display: none;
}

.table-product-discounts tr td:nth-child(3) {
    display: none;
}

.category-description-wrapper {
    position: relative;
}

.category-description-text {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* تعداد خطوط مورد نظر */
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 9em; /* 5 خط با فاصله معمولی */
    transition: max-height 0.3s ease;
}

.category-description-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.category-description-toggle {
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
    color: #ff0022;
    background: none;
    border: none;
}

.category-description-toggle:hover {
    color: #aa0022;
    text-decoration: underline;
}

/* حالت موبایل - تعداد خطوط کمتر */
@media (max-width: 768px) {
    .category-description-text {
        -webkit-line-clamp: 3;
        max-height: 5.4em;
    }
}

.dropdown-menu a[href*="product.reference.asc"],
.dropdown-menu a[href*="product.reference.desc"] {
    display: none !important;
}


/*.form-group.row:has(label[for="field-phone"]) {*/
/*    display: none !important;*/
/*}*/
/*.form-group.row:has(label[for="field-alias"]) {*/
/*    display: none !important;*/
/*}*/
/*.form-group.row:has(label[for="field-address2"]) {*/
/*    display: none !important;*/
/*}*/
/*.form-group.row:has(label[for="field-phone_mobile"]) .form-control-comment {*/
/*    display: none !important;*/
/*}*/

.quickview #product-description-short img {
    max-width: 80% !important;
    height: auto !important;
}

#shoow-main .text-preview, #shoow-main .full-text {
    background-color: transparent !important;
}

.product-miniature .product-flag.discount {
    display: none !important;
}

.ce-product-price.ce-has-discount .ce-product-badge.ce-product-badge-sale.ce-product-badge-sale-amount {
    display: none !important;
}

.product-miniature .product-price-and-shipping .price {display: block;}

#psgdpr-link {display: none !important;}