/*
Theme Name: Nargilan Store
Author: Alexander Yakovenko
Author URI: https://github.com/as-yakovenko
Version: 1
Description: Nargilan version 1.0.0 theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nargilan
Tags: one-column, two-columns
Theme URI:
*/

.category-icon {
    width: 32px;
    height: 32px;
}

.category-icon--light {
    filter: brightness(0) invert(1);
}

.category-icon--dark {
    filter: brightness(0);
}

.item-category-link:hover .category-icon {
    filter: brightness(0) invert(1);
}

.login-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

.login-message.error {
    background-color: #ffe6e6;
    color: #ff0000;
    border: 1px solid #ff9999;
}

.login-message.success {
    background-color: #e6ffe6;
    color: #006600;
    border: 1px solid #99ff99;
} 

/* .loader {
    display: none;
    float: right;
    margin-left: 5px;
    padding: 3px 8px;
    align-items: center;
}

.loading {
	border: 3px solid #3498db;
	border-top: 3px solid #eeecec;
	border-radius: 50%;
	width: 15px;
	height: 15px;
	animation: spin 2s linear infinite;
	margin: 3px 5px;
} */

.loading-ajax {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s;
}

.wishlist-notice {
    position: absolute;
    top: -1%;
    left: 39%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgb(57 62 70 / var(--tw-text-opacity, 1));
    margin-top: 5px;
    white-space: nowrap;
    text-align: center;
    z-index: 2;
    color:rgb(13, 14, 16);
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
}

.wishlist-notice.notice-removed {
    color: rgb(13, 14, 16);
    top: -1%;
    left: 18%;
}

.wishlist-notice.notice-added {
    color: #C6063F;
    top: -1%;
    left: 18%;
}

.product-price-old {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 25px;
    line-height: 22px;
}

.product-status--not-available{
    display: flex;
}

.product__actions{
    /* display: grid; */
}

.product__actions-price  {
    padding: 0;
}

.product-price {
    font-size: 1.25rem;
    color: #0D0E10;
}

.product__add-to-cart.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.d-none{
    display: none! important;
}

.w-100{
    width: 100%;
}

.checkbox-item.disabled {
    opacity: 0.5;
}

/* .checkbox-item.child-category .checkbox-item__block{
    margin-right: 10px;
} */

.page-template-template-video-blog .blog .products-top__block h2 {
    width: 100%;
}

#popup-sort .dropdown__list {
    padding: 5px !important;
}

.products__count.woocommerce-result-count {
    margin: 0 !important;
}

.content-mix-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
}

.out-of-stock {
    color: rgb(128 136 152 / var(--tw-text-opacity, 1));
}

.notification {
    padding: 10px;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 13px;
    line-height: 17px;
    font-weight: 500;
}

.notification.success {
    background-color: rgba(44, 227, 38, 0.18);
}

.notification.error {
    background-color: rgba(227, 44, 44, 0.18);
}

.page-template-template-checkout .wrap-logo,
.page-template-template-cart .wrap-logo{
    justify-content: right;
}

wc-order-attribution-inputs {
    display: none !important;
}

.coupon-message.error {
    color: #ff0000;
}
.coupon-message.success {
    color: #008000;
}

.page-template-template-cart .woocommerce-notices-wrapper,
.page-template-template-checkout .woocommerce-notices-wrapper,
.page-template-template-checkout .woocommerce-message {
    display: none;
}

.cart-summary__block .cart-discount a.woocommerce-remove-coupon {
    display: none;
}

.page-account .woocommerce-dashboard a{
    color: #355ca8;
}

.account-block.account-edit-block.active .account-address-item__body .btn-mini{
    cursor: pointer;
}

.account-block.account-edit-block.active .account-address-item__body .btn-mini:hover svg{
    fill: none;
}

.mb-10{
    margin-bottom: 10px;
}

.order-item-info__submix {
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.order-item-info__subitem {
    color: #666;
}

.order-item-info__subtext {
    margin: 5px 0;
}

.page-template-template-checkout .notification,
.page-template-template-cart .notification {
    display: none;
}

.page-template-template-cart .main-container .woocommerce{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    gap: 1.5rem;
    flex-direction: column;
    display: flex;
}

.page-template-template-recommended-store .shops .shops__items {
    height: 480px;
    padding: 10px;
    overflow: scroll;
}

@media (min-width: 1280px) {
    .products-body.items-4 .products___block{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .products-body.items-4 .products-content__body {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .products__per-page {
        max-width: 100%;
    }
}