/* صفحه علاقه‌مندی — هماهنگ با کارت‌های فروشگاه (shop-filters.css) */

body.motekhassesan-wishlist-page {
    --motekhassesan-primary: var(--btn-accented-bgcolor, var(--wd-primary-color, #f6ad00));
    --motekhassesan-primary-hover: var(--btn-accented-bgcolor-hover, var(--wd-link-color-hover, var(--wd-primary-color, #e09c00)));
    --motekhassesan-primary-text: var(--btn-accented-color, #ffffff);
    --motekhassesan-bg: var(--wd-content-bgcolor, var(--wd-main-bgcolor, #ffffff));
    --motekhassesan-soft-bg: var(--wd-light-grey-color, #f7f7f7);
    --motekhassesan-border: var(--wd-border-color, #eeeeee);
    --motekhassesan-text: var(--wd-text-color, #666666);
    --motekhassesan-muted-text: color-mix(in srgb, var(--wd-text-color, #999999) 72%, transparent);
    --motekhassesan-title: var(--wd-title-color, #222222);
}

/* -------------------------------------------------------------------------
   چیدمان کلی: سایدبار حساب کاربری + محتوای علاقه‌مندی
   ------------------------------------------------------------------------- */

body.motekhassesan-wishlist-page .wd-my-account-wrapper {
    direction: rtl;
    align-items: flex-start;
}

body.motekhassesan-wishlist-page .wd-my-account-sidebar {
    background: var(--motekhassesan-bg);
    border: 1px solid var(--motekhassesan-border);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    padding: 16px 14px;
    overflow: hidden;
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-title {
    margin: 0 0 14px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--motekhassesan-border);
    color: var(--motekhassesan-title);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-navigation li + li {
    margin-top: 4px;
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--motekhassesan-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-navigation a:hover {
    background: var(--motekhassesan-soft-bg);
    color: var(--motekhassesan-title);
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-navigation .is-active a {
    background: color-mix(in srgb, var(--motekhassesan-primary) 12%, var(--motekhassesan-soft-bg));
    color: var(--motekhassesan-title);
    box-shadow: inset 3px 0 0 var(--motekhassesan-primary);
}

body.motekhassesan-wishlist-page .woocommerce-MyAccount-content {
    min-width: 0;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-shell {
    background: var(--motekhassesan-bg);
    border: 1px solid var(--motekhassesan-border);
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    padding: 18px 20px 22px;
}

/* -------------------------------------------------------------------------
   هدر صفحه: عنوان + اشتراک‌گذاری
   ------------------------------------------------------------------------- */

body.motekhassesan-wishlist-page .wd-wishlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--motekhassesan-border);
}

body.motekhassesan-wishlist-page .wd-wishlist-head .title {
    margin: 0;
    color: var(--motekhassesan-title);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

body.motekhassesan-wishlist-page .wd-wishlist-head .wd-social-icons {
    display: none !important;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-label {
    color: var(--motekhassesan-muted-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-icons {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-icon,
body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--motekhassesan-border);
    border-radius: 50%;
    background: var(--motekhassesan-bg);
    color: var(--motekhassesan-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-copy {
    cursor: pointer;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-icon:hover,
body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-copy:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--motekhassesan-primary) 40%, var(--motekhassesan-border));
    background: var(--motekhassesan-soft-bg);
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-copy.is-copied {
    border-color: color-mix(in srgb, var(--motekhassesan-primary) 45%, var(--motekhassesan-border));
    background: color-mix(in srgb, var(--motekhassesan-primary) 12%, var(--motekhassesan-bg));
    color: var(--motekhassesan-primary);
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-icon-inner img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

body.motekhassesan-wishlist-page .motekhassesan-wishlist-share-copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.motekhassesan-wishlist-page .wd-wishlist-head .share-title {
    color: var(--motekhassesan-muted-text);
    font-size: 12px;
    font-weight: 600;
}

body.motekhassesan-wishlist-page .wd-wishlist-head .wd-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--motekhassesan-border);
    border-radius: 50%;
    background: var(--motekhassesan-soft-bg);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.motekhassesan-wishlist-page .wd-wishlist-head .wd-social-icon:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--motekhassesan-primary) 40%, var(--motekhassesan-border));
    background: var(--motekhassesan-bg);
}

/* -------------------------------------------------------------------------
   عملیات گروهی: انتخاب همه / حذف
   ------------------------------------------------------------------------- */

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action:not(.wd-visible) {
    display: none !important;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action.wd-visible {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    height: auto !important;
    margin: 0 0 18px !important;
    padding: 10px 12px !important;
    background: var(--motekhassesan-soft-bg);
    border: 1px solid var(--motekhassesan-border);
    border-radius: 10px;
    pointer-events: auto !important;
    opacity: 1 !important;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action.wd-visible .wd-action-btn {
    opacity: 1 !important;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action .wd-action-btn > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--motekhassesan-bg);
    border: 1px solid var(--motekhassesan-border);
    color: var(--motekhassesan-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action .wd-wishlist-remove-action > a:hover {
    border-color: color-mix(in srgb, #e22d2d 35%, var(--motekhassesan-border));
    color: #c62828;
    background: color-mix(in srgb, #e22d2d 6%, var(--motekhassesan-bg));
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action .wd-wishlist-select-all > a:hover {
    border-color: color-mix(in srgb, var(--motekhassesan-primary) 40%, var(--motekhassesan-border));
    color: var(--motekhassesan-title);
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action .wd-wishlist-text-deselect {
    display: none;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action.wd-selected-all .wd-wishlist-text-select {
    display: none;
}

body.motekhassesan-wishlist-page .wd-wishlist-bulk-action.wd-selected-all .wd-wishlist-text-deselect {
    display: inline;
}

/* -------------------------------------------------------------------------
   گرید محصولات
   ------------------------------------------------------------------------- */

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
}

/* نوار عملیات هر کارت: حذف + چک‌باکس */
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid > .wd-product,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid > .product-grid-item {
    position: relative;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    background: var(--motekhassesan-bg);
    border: 1px solid var(--motekhassesan-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid > .wd-product:hover,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid > .product-grid-item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--motekhassesan-primary) 35%, transparent);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

body.motekhassesan-wishlist-page .wd-wishlist-product-actions {
    position: absolute !important;
    top: 10px !important;
    inset-inline: 10px !important;
    z-index: 5;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-actions > * {
    pointer-events: auto;
    flex: 0 0 auto !important;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-remove {
    order: 1;
    font-size: 0;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-remove > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--motekhassesan-border);
    color: #c62828;
    font-size: 0;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-remove > a::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-remove > a:hover {
    background: #fff;
    border-color: color-mix(in srgb, #e22d2d 35%, var(--motekhassesan-border));
    transform: scale(1.04);
}

body.motekhassesan-wishlist-page .wd-wishlist-product-remove .wd-action-icon,
body.motekhassesan-wishlist-page .wd-wishlist-product-remove .wd-action-text {
    display: none !important;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-checkbox {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    padding: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--motekhassesan-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: initial;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-checkbox .wd-wishlist-checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid color-mix(in srgb, var(--motekhassesan-text) 35%, var(--motekhassesan-border));
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-checkbox .wd-wishlist-checkbox:checked {
    border-color: var(--motekhassesan-primary);
    background-color: var(--motekhassesan-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

body.motekhassesan-wishlist-page .wd-wishlist-product-checkbox .wd-wishlist-checkbox:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--motekhassesan-primary) 45%, transparent);
    outline-offset: 2px;
}

/* کارت محصول */
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 42px 18px 18px;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top .wd-wishlist-product-actions,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-thumb .wd-wishlist-product-actions {
    inset-inline: 12px !important;
    top: 12px !important;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-img-hover {
    background-color: transparent;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-image-link {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-image-link img,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top img {
    width: auto;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.25s ease;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product:hover .product-image-link img,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product:hover .product-element-top img {
    transform: scale(1.03);
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top .wd-buttons {
    display: none !important;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-bottom,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-information,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-info {
    display: grid !important;
    flex: 1 1 auto;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-auto-flow: row dense;
    align-items: center;
    gap: 6px 12px;
    padding: 14px;
    text-align: right;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-entities-title,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .woocommerce-loop-product__title {
    grid-column: 1 / -1;
    order: 1;
    min-height: 1.7em;
    margin: 0 !important;
    color: var(--motekhassesan-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-entities-title a,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .woocommerce-loop-product__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-decoration: inherit;
    color: inherit;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-book-author {
    grid-column: 1 / -1;
    order: 2;
    display: block;
    min-width: 0;
    max-width: 100%;
    min-height: 1.6em;
    margin: -2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--motekhassesan-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-book-author.is-empty {
    visibility: hidden;
    pointer-events: none;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-book-author a {
    color: inherit;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-book-author a:hover {
    color: var(--motekhassesan-primary);
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-bottom::before,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-information::before,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-info::before {
    content: "";
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    border-top: 1px solid var(--motekhassesan-border);
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .price {
    grid-column: 2;
    order: 4;
    display: flex;
    align-self: center;
    align-items: center;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    min-height: 38px;
    margin: 0;
    color: var(--motekhassesan-title);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .price:has(del) {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 2px;
    min-height: auto;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .price del {
    color: var(--motekhassesan-muted-text);
    font-size: 11px;
    font-weight: 500;
    opacity: 1;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .price ins {
    text-decoration: none;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-price-original-wrap {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 4px;
    max-width: 100%;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .motekhassesan-discount-percent {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 12px;
    background: #e22d2d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-bottom .wd-buttons {
    grid-column: 1;
    order: 4;
    display: flex !important;
    width: auto !important;
    height: 38px;
    min-height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    inset-inline-end: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    align-self: center;
    align-items: center !important;
    justify-self: start;
    flex-shrink: 0;
    z-index: 2;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-bottom .wd-buttons .wd-action-btn:not(.wd-add-btn) {
    display: none;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-add-btn > a,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .add_to_cart_button,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product_type_simple {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0 !important;
    border-radius: 8px !important;
    background: var(--motekhassesan-primary) !important;
    color: var(--motekhassesan-primary-text) !important;
    font-size: 0;
    font-weight: 700;
    line-height: 1.4;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-add-btn > a span,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .add_to_cart_button span,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product_type_simple span {
    display: none;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-add-btn > a::before,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .add_to_cart_button::before,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product_type_simple::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 6h15.1l-1.7 8.4a2 2 0 0 1-2 1.6H9.1a2 2 0 0 1-2-1.6L5.2 3H2.8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9.5' cy='20' r='1.4' fill='black'/%3E%3Ccircle cx='17.5' cy='20' r='1.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 6h15.1l-1.7 8.4a2 2 0 0 1-2 1.6H9.1a2 2 0 0 1-2-1.6L5.2 3H2.8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9.5' cy='20' r='1.4' fill='black'/%3E%3Ccircle cx='17.5' cy='20' r='1.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-add-btn > a:hover,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .add_to_cart_button:hover,
body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product_type_simple:hover {
    background: var(--motekhassesan-primary-hover) !important;
    color: var(--motekhassesan-primary-text) !important;
}

/* -------------------------------------------------------------------------
   واکنش‌گرا
   ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (max-width: 768px) {
    body.motekhassesan-wishlist-page .motekhassesan-wishlist-shell {
        padding: 14px 14px 18px;
    }

    body.motekhassesan-wishlist-page .wd-wishlist-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.motekhassesan-wishlist-page .wd-my-account-sidebar {
        margin-bottom: 16px;
    }

    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
    }

    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top,
    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-product-thumb {
        min-height: 180px;
        padding-top: 38px;
    }

    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-image-link img,
    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .product-element-top img {
        max-height: 150px;
    }

    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .wd-entities-title,
    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .woocommerce-loop-product__title {
        font-size: 13px;
    }

    body.motekhassesan-wishlist-page .products.wd-products.motekhassesan-wishlist-grid .price {
        font-size: 12px;
    }
}
