/*
Theme Name: Fardad Hello Child
Theme URI: https://fardad.ir/
Description: Child theme اختصاصی فرداد برای Hello Elementor
Author: Fardad
Template: hello-elementor
Version: 1.0.0
Text Domain: fardad-hello-child
*/


/* Keep the home banner below the header at tablet widths. */
@media (min-width: 768px) and (max-width: 1024px) {
    body.home .elementor-element-6fbb79f {
        height: 470px !important;
        padding-block: 24px 28px !important;
        gap: 20px !important;
    }

    body.home .elementor-element-b48d400 { width: 48% !important; }
    body.home .elementor-element-26d9f44 { width: 52% !important; }
    body.home [data-id="f17209a"] {
        font-size: 30px !important;
        line-height: 1.35 !important;
    }

    body.home .elementor-element-4a5e6b4 {
        gap: 10px !important;
        flex-direction: column !important;
    }

    body.home [data-id="bc7bdb3"],
    body.home [data-id="74102cb"] { margin-block: 0 !important; }
}

/* Cart state: the Elementor empty section is static markup. */
body.fd-cart-has-items .fd-empty-cart {
    display: none !important;
}


/* =====================================================
   CENTRAL ARTICLE CONTENT TYPOGRAPHY
   Scoped to the Elementor Post Content widget.
   ===================================================== */

.fd-article-content {
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 2.1;
    color: #353a36;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.fd-article-content p {
    font-size: 15.5px;
    font-weight: 400;
    line-height: 2.1;
    color: #353a36;
    margin-top: 0;
    margin-bottom: 16px;
}

.fd-article-content p:last-child {
    margin-bottom: 0;
}

.fd-article-content p:empty {
    display: none;
}

.fd-article-content > p:first-child,
.fd-article-content > h2:first-child,
.fd-article-content > h3:first-child,
.fd-article-content > h4:first-child,
.fd-article-content .elementor-widget-container > p:first-child,
.fd-article-content .elementor-widget-container > h2:first-child,
.fd-article-content .elementor-widget-container > h3:first-child,
.fd-article-content .elementor-widget-container > h4:first-child {
    margin-top: 0;
}

.fd-article-content strong,
.fd-article-content b {
    font-weight: 700;
    color: inherit;
}

.fd-article-content em {
    color: inherit;
}

.fd-article-content h2 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.75;
    color: #183c35;
    margin-top: 34px;
    margin-bottom: 14px;
}

.fd-article-content h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
    color: #183c35;
    margin-top: 26px;
    margin-bottom: 12px;
}

.fd-article-content h4 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.8;
    color: #183c35;
    margin-top: 22px;
    margin-bottom: 10px;
}

.fd-article-content a {
    color: #183c35;
    text-decoration-line: underline;
    text-decoration-color: rgba(198, 161, 91, .55);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.fd-article-content a:hover {
    color: #c6a15b;
    text-decoration-color: #c6a15b;
}

.fd-article-content ul,
.fd-article-content ol {
    margin-top: 8px;
    margin-bottom: 18px;
    padding-inline-start: 1.4em;
}

.fd-article-content li {
    margin-bottom: 7px;
    line-height: 2;
}

.fd-article-content li:last-child {
    margin-bottom: 0;
}

.fd-article-content li > ul,
.fd-article-content li > ol {
    margin-top: 6px;
    margin-bottom: 6px;
}

.fd-article-content li::marker {
    color: #c6a15b;
}

.fd-article-content blockquote {
    margin: 24px 0;
    padding: 16px 18px;
    background: #fcfaf6;
    border-inline-start: 3px solid #c6a15b;
    border-radius: 6px;
    color: #4f5752;
    font-size: 15px;
    line-height: 2;
}

.fd-article-content blockquote p:last-child {
    margin-bottom: 0;
}

.fd-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.fd-article-content figure,
.fd-article-content .wp-block-image,
.fd-article-content .wp-caption {
    max-width: 100%;
    margin-block: 22px;
}

.fd-article-content .wp-block-image img,
.fd-article-content figure > img,
.fd-article-content .wp-caption img {
    margin: 0;
}

.fd-article-content .aligncenter {
    margin-inline: auto;
}

.fd-article-content .alignleft,
.fd-article-content .alignright,
.fd-article-content .alignwide,
.fd-article-content .alignfull {
    max-width: 100%;
}

.fd-article-content figcaption,
.fd-article-content .wp-caption-text {
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.8;
    color: #8a8278;
    text-align: center;
    margin-top: 7px;
    margin-bottom: 0;
}

.fd-article-content hr,
.fd-article-content .wp-block-separator {
    border: 0;
    border-top: 1px solid #e7e0d5;
    margin: 30px 0;
}

.fd-article-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.8;
    margin: 22px 0;
}

.fd-article-content th,
.fd-article-content td {
    padding: 10px 12px;
    border: 1px solid #e7e0d5;
}

.fd-article-content thead {
    background: #fcfaf6;
    color: #183c35;
    font-weight: 700;
}

.fd-article-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fd-article-content .wp-block-table table {
    margin: 0;
}

.fd-article-content code {
    font-size: .9em;
    background: #f5f2ec;
    padding: 2px 5px;
    border-radius: 4px;
}

.fd-article-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 14px 16px;
    background: #f5f2ec;
    border-radius: 6px;
    line-height: 1.8;
}

.fd-article-content pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.fd-article-content iframe,
.fd-article-content video,
.fd-article-content embed {
    max-width: 100%;
}

.fd-article-content video {
    height: auto;
}

@media (max-width: 1024px) {
    .fd-article-content,
    .fd-article-content p {
        font-size: 15px;
        line-height: 2.05;
    }

    .fd-article-content h2 {
        font-size: 21px;
        line-height: 1.75;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .fd-article-content h3 {
        font-size: 18px;
        margin-top: 24px;
    }

    .fd-article-content h4 {
        font-size: 16px;
    }

    .fd-article-content figure,
    .fd-article-content .wp-block-image,
    .fd-article-content .wp-caption {
        margin-block: 20px;
    }

    .fd-article-content blockquote {
        padding: 14px 16px;
    }
}

@media (max-width: 767px) {
    .fd-article-content,
    .fd-article-content p {
        font-size: 14.5px;
        line-height: 2;
    }

    .fd-article-content p {
        margin-bottom: 14px;
    }

    .fd-article-content p:last-child {
        margin-bottom: 0;
    }

    .fd-article-content h2 {
        font-size: 19px;
        line-height: 1.75;
        margin-top: 26px;
        margin-bottom: 11px;
    }

    .fd-article-content h3 {
        font-size: 17px;
        line-height: 1.8;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .fd-article-content h4 {
        font-size: 15.5px;
    }

    .fd-article-content ul,
    .fd-article-content ol,
    .fd-article-content li {
        font-size: inherit;
        line-height: 2;
    }

    .fd-article-content blockquote {
        font-size: 14px;
        padding: 12px 14px;
        margin: 20px 0;
    }

    .fd-article-content figure,
    .fd-article-content .wp-block-image,
    .fd-article-content .wp-caption {
        margin-block: 18px;
    }

    .fd-article-content img {
        border-radius: 7px;
    }

    .fd-article-content figcaption,
    .fd-article-content .wp-caption-text {
        font-size: 10.5px;
    }

    .fd-article-content .wp-block-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* =========================================================
   FARDAD - MAGAZINE CATEGORIES
   ========================================================= */

.fd-magazine-categories {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
    overflow: hidden;
}

.fd-magazine-categories .fd-magazine-category {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    direction: rtl;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 2px;
    gap: 9px;
    border-bottom: 1px solid rgba(231, 224, 213, 0.85);
    color: #183C35;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.fd-magazine-categories .fd-magazine-category:last-child {
    border-bottom: none;
}

.fd-magazine-categories .fd-magazine-category:hover {
    background: rgba(198, 161, 91, 0.06);
    color: #C6A15B;
}

.fd-magazine-categories .fd-magazine-category__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    flex-shrink: 0;
    background-image: url("assets/icons/article-categories/default.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.fd-magazine-categories .fd-magazine-category__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #183C35;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.fd-magazine-categories .fd-magazine-category:hover .fd-magazine-category__label {
    color: #C6A15B;
}

.fd-magazine-categories .fd-magazine-category__arrow {
    flex-shrink: 0;
    color: #C6A15B;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .fd-magazine-categories .fd-magazine-category {
        min-height: 42px;
        gap: 8px;
    }

    .fd-magazine-categories .fd-magazine-category__icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .fd-magazine-categories .fd-magazine-category__label {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .fd-magazine-categories .fd-magazine-category {
        min-height: 42px;
        padding: 8px 0;
        gap: 8px;
    }

    .fd-magazine-categories .fd-magazine-category__icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .fd-magazine-categories .fd-magazine-category__label {
        font-size: 12px;
    }
}


/* =========================================================
   FARDAD - CURRENT POST TAGS
   ========================================================= */

.fd-post-tags {
    display: flex;
    flex-wrap: wrap;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 7px;
    overflow: hidden;
}

.fd-post-tags .fd-post-tag {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #E7E0D5;
    border-radius: 999px;
    background: #FFFFFF;
    color: #5F665F;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.fd-post-tags .fd-post-tag:hover {
    border-color: #C6A15B;
    background: rgba(198, 161, 91, 0.07);
    color: #183C35;
}

@media (max-width: 1024px) {
    .fd-post-tags {
        gap: 6px;
    }

    .fd-post-tags .fd-post-tag {
        padding: 6px 9px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .fd-post-tags {
        gap: 6px;
    }

    .fd-post-tags .fd-post-tag {
        padding: 6px 9px;
        font-size: 10.75px;
    }
}

@supports selector(:has(*)) {
    .fd-sidebar-tags-card:has(.fd-post-tags-empty) {
        display: none;
    }
}


/* =========================================================
   FARDAD - SINGLE POST BREADCRUMB
   ========================================================= */

.fd-post-breadcrumb {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 7px;
    overflow: hidden;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
}

.fd-post-breadcrumb .fd-post-breadcrumb__item {
    color: #6F756F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fd-post-breadcrumb a.fd-post-breadcrumb__item:hover {
    color: #C6A15B;
}

.fd-post-breadcrumb .fd-post-breadcrumb__home,
.fd-post-breadcrumb .fd-post-breadcrumb__magazine,
.fd-post-breadcrumb .fd-post-breadcrumb__category {
    flex-shrink: 0;
    white-space: nowrap;
}

.fd-post-breadcrumb .fd-post-breadcrumb__separator {
    flex-shrink: 0;
    color: rgba(198, 161, 91, 0.65);
    font-size: 13px;
}

.fd-post-breadcrumb .fd-post-breadcrumb__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #183C35;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .fd-post-breadcrumb {
        gap: 6px;
        margin-bottom: 10px;
        font-size: 11.5px;
        line-height: 1.8;
    }
}

@media (max-width: 767px) {
    .fd-post-breadcrumb {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 5px;
        overflow: hidden;
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.7;
    }

    .fd-post-breadcrumb .fd-post-breadcrumb__home,
    .fd-post-breadcrumb .fd-post-breadcrumb__magazine,
    .fd-post-breadcrumb .fd-post-breadcrumb__category {
        flex-shrink: 0;
    }

    .fd-post-breadcrumb .fd-post-breadcrumb__current {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}


/* =========================================================
   FARDAD ARTICLE CATEGORY BADGE
   ========================================================= */

.fd-post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

.fd-post-category-badge .fd-post-category-badge__icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background-image: url("assets/icons/article-categories/default.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.fd-post-category-badge .fd-post-category-badge__label {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-overflow: ellipsis;
}

.fd-post-category-badge--fardad-news .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/fardad-news.svg");
}

.fd-post-category-badge--iranian-handicrafts .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/iranian-handicrafts.svg");
}

.fd-post-category-badge--buying-guide .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/buying-guide.svg");
}

.fd-post-category-badge--corporate-gifts .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/corporate-gifts.svg");
}

.fd-post-category-badge--product-care .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/product-care.svg");
}

.fd-post-category-badge--art-stories .fd-post-category-badge__icon {
    background-image: url("assets/icons/article-categories/art-stories.svg");
}

@media (max-width: 767px) {
    .fd-post-category-badge {
        gap: 5px;
    }
}


/* =========================================================
   FARDAD DYNAMIC ART CATALOG
   Scoped to [fardad_catalog_art].
   ========================================================= */

.fd-catalog-art-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

.fd-catalog-art-grid .fd-catalog-art-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6dfd3;
    border-radius: 16px;
    background: #ffffff;
    color: #183c35;
    text-align: right;
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.fd-catalog-art-grid .fd-catalog-art-card:hover {
    border-color: #c6a15b;
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
    transform: translateY(-4px);
}

.fd-catalog-art-grid .fd-catalog-art-card:focus-visible {
    border-color: #c6a15b;
    outline: 2px solid #c6a15b;
    outline-offset: 3px;
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
}

.fd-catalog-art-grid .fd-catalog-art-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #f7f3ec;
}

.fd-catalog-art-grid .fd-catalog-art-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.fd-catalog-art-grid .fd-catalog-art-card:hover .fd-catalog-art-card__image {
    transform: scale(1.025);
}

.fd-catalog-art-grid .fd-catalog-art-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px 22px;
}

.fd-catalog-art-grid .fd-catalog-art-card__title {
    margin: 0 0 8px;
    color: #183c35;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.fd-catalog-art-grid .fd-catalog-art-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #183c35;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.fd-catalog-art-grid .fd-catalog-art-card__arrow {
    color: #c6a15b;
    font-size: 15px;
    line-height: 1;
}

.fd-catalog-art-diagnostic {
    margin: 0;
    color: #6f6a61;
    direction: rtl;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.8;
    text-align: right;
}

@media (max-width: 1024px) {
    .fd-catalog-art-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .fd-catalog-art-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .fd-catalog-art-grid .fd-catalog-art-card__body {
        padding: 18px;
    }

    .fd-catalog-art-grid .fd-catalog-art-card__title {
        font-size: 17px;
    }
}


/* =========================================================
   FARDAD CATALOG EXPLORER V2
   Scoped component and future Elementor gateway-card IDs.
   ========================================================= */

.fd-catalog-explorer {
    --fd-catalog-green: #183c35;
    --fd-catalog-gold: #c6a15b;
    --fd-catalog-ivory: #fffdf9;
    --fd-catalog-border: #e6dfd3;
    --fd-catalog-text: #666d69;

    width: 100%;
    min-width: 0;
    direction: rtl;
    color: var(--fd-catalog-text);
    font-family: inherit;
    text-align: right;
    scroll-margin-top: 116px;
}

.fd-catalog-explorer .fd-catalog-explorer__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px;
    scrollbar-color: var(--fd-catalog-border) transparent;
    scrollbar-width: thin;
}

.fd-catalog-explorer .fd-catalog-explorer__tab {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    color: var(--fd-catalog-text);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fd-catalog-explorer .fd-catalog-explorer__tab::after {
    position: absolute;
    right: 50%;
    bottom: 4px;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--fd-catalog-gold);
    content: "";
    opacity: 0;
    transform: translateX(50%) scaleX(0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fd-catalog-explorer .fd-catalog-explorer__tab:hover {
    border-color: rgba(230, 223, 211, 0.75);
    background: rgba(255, 255, 255, 0.72);
    color: var(--fd-catalog-green);
}

.fd-catalog-explorer .fd-catalog-explorer__tab[aria-selected="true"] {
    border-color: var(--fd-catalog-border);
    background: #ffffff;
    color: var(--fd-catalog-green);
    font-weight: 700;
}

.fd-catalog-explorer .fd-catalog-explorer__tab[aria-selected="true"]::after {
    opacity: 1;
    transform: translateX(50%) scaleX(1);
}

.fd-catalog-explorer .fd-catalog-explorer__tab:focus-visible {
    outline: 2px solid var(--fd-catalog-gold);
    outline-offset: 2px;
}

.fd-catalog-explorer .fd-catalog-explorer__panels {
    min-width: 0;
    margin-top: 28px;
}

.fd-catalog-explorer .fd-catalog-explorer__panel {
    min-width: 0;
}

.fd-catalog-explorer .fd-catalog-explorer__panel[hidden] {
    display: none;
}

.fd-catalog-explorer .fd-catalog-explorer__panel:focus-visible {
    outline: 2px solid var(--fd-catalog-gold);
    outline-offset: 6px;
}

.fd-catalog-explorer .fd-catalog-level-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    width: 100%;
    direction: rtl;
}

.fd-catalog-explorer .fd-catalog-level-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 220px;
    padding: 24px 20px;
    overflow: hidden;
    border: 1px solid var(--fd-catalog-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--fd-catalog-green);
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.fd-catalog-explorer .fd-catalog-level-card:hover {
    border-color: var(--fd-catalog-gold);
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
    transform: translateY(-4px);
}

.fd-catalog-explorer .fd-catalog-level-card:focus-visible {
    border-color: var(--fd-catalog-gold);
    outline: 2px solid var(--fd-catalog-gold);
    outline-offset: 3px;
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
}

.fd-catalog-explorer .fd-catalog-level-card__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 90px;
    margin-bottom: 20px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(198, 161, 91, 0.24);
    border-radius: 12px;
    background-color: var(--fd-catalog-ivory);
    background-image:
        linear-gradient(135deg, transparent 58%, rgba(198, 161, 91, 0.07) 58%, rgba(198, 161, 91, 0.07) 59%, transparent 59%),
        linear-gradient(45deg, transparent 72%, rgba(24, 60, 53, 0.04) 72%, rgba(24, 60, 53, 0.04) 73%, transparent 73%);
}

.fd-catalog-explorer .fd-catalog-level-card__number {
    color: var(--fd-catalog-green);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.9;
}

.fd-catalog-explorer .fd-catalog-level-card__slug {
    max-width: 72px;
    overflow: hidden;
    color: var(--fd-catalog-gold);
    direction: ltr;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-align: left;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.fd-catalog-explorer .fd-catalog-level-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
}

.fd-catalog-explorer .fd-catalog-level-card__title {
    margin: 0;
    color: var(--fd-catalog-green);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.fd-catalog-explorer .fd-catalog-level-card__count {
    display: block;
    margin-top: 4px;
    color: var(--fd-catalog-text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.fd-catalog-explorer .fd-catalog-level-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    color: var(--fd-catalog-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.fd-catalog-explorer .fd-catalog-level-card__arrow {
    color: var(--fd-catalog-gold);
    font-size: 15px;
    line-height: 1;
}

#catalog-card-art,
#catalog-card-type,
#catalog-card-level {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6dfd3;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

#catalog-card-art:hover,
#catalog-card-type:hover,
#catalog-card-level:hover {
    border-color: #c6a15b;
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
    transform: translateY(-4px);
}

#catalog-card-art:focus-visible,
#catalog-card-type:focus-visible,
#catalog-card-level:focus-visible {
    border-color: #c6a15b;
    outline: 2px solid #c6a15b;
    outline-offset: 3px;
    box-shadow: 0 10px 30px rgba(24, 60, 53, 0.07);
}

#catalog-card-art > .e-image,
#catalog-card-type > .e-image,
#catalog-card-level > .e-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

#catalog-card-art > .e-image img,
#catalog-card-type > .e-image img,
#catalog-card-level > .e-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

#catalog-card-art:hover > .e-image img,
#catalog-card-type:hover > .e-image img,
#catalog-card-level:hover > .e-image img {
    transform: scale(1.025);
}

@media (max-width: 1024px) {
    .fd-catalog-explorer .fd-catalog-level-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .fd-catalog-explorer .fd-catalog-explorer__tabs {
        justify-content: flex-start;
    }

    .fd-catalog-explorer .fd-catalog-explorer__tab {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 12.5px;
    }

    .fd-catalog-explorer .fd-catalog-explorer__panels {
        margin-top: 24px;
    }

    .fd-catalog-explorer .fd-catalog-level-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .fd-catalog-explorer .fd-catalog-level-card {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-catalog-explorer .fd-catalog-explorer__tab,
    .fd-catalog-explorer .fd-catalog-explorer__tab::after,
    .fd-catalog-explorer .fd-catalog-art-card,
    .fd-catalog-explorer .fd-catalog-art-card__image,
    .fd-catalog-explorer .fd-catalog-level-card,
    #catalog-card-art,
    #catalog-card-type,
    #catalog-card-level,
    #catalog-card-art > .e-image img,
    #catalog-card-type > .e-image img,
    #catalog-card-level > .e-image img {
        transition-duration: 0.01ms;
    }

    .fd-catalog-explorer .fd-catalog-art-card:hover,
    .fd-catalog-explorer .fd-catalog-art-card:hover .fd-catalog-art-card__image,
    .fd-catalog-explorer .fd-catalog-level-card:hover,
    #catalog-card-art:hover,
    #catalog-card-type:hover,
    #catalog-card-level:hover,
    #catalog-card-art:hover > .e-image img,
    #catalog-card-type:hover > .e-image img,
    #catalog-card-level:hover > .e-image img {
        transform: none;
    }
}


body.fd-cart-is-empty .fd-cart-widget {
    display: none !important;
}

body.fd-cart-is-empty .fd-empty-cart {
    display: flex !important;
}


/* =========================================================
   FARDAD BESTSELLERS CAROUSEL BADGE
   Scoped to the Home carousel's Elementor CSS class.
   ========================================================= */

.fd-bestsellers-carousel .e-loop-item {
    position: relative;
}

.fd-bestsellers-carousel .e-loop-item::before {
    content: "پرفروش";
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 999px;
    background: #c6a15b;
    color: #183c35;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
}

/* Dynamic discount badge inserted via [fardad_discount_badge]. */
.fd-bestsellers-carousel .fd-discount-badge-widget {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 10;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.fd-bestsellers-carousel .fd-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #183c35;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .fd-bestsellers-carousel .e-loop-item::before {
        top: 8px;
        right: 8px;
    }

    .fd-bestsellers-carousel .fd-discount-badge-widget {
        top: 8px;
        left: 8px;
    }
}


/* =========================================================
   FARDAD MOBILE DRAWER MENU
   Scope: .fd-mobile-nav
   ========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       01. ROOT
       ===================================================== */

    .fd-mobile-nav {
        --fd-green: #183c35;
        --fd-gold: #c6a15b;
        --fd-gold-soft: rgba(198, 161, 91, 0.20);
        --fd-border: #e9e1d5;
        --fd-cream: #fcfaf6;
        --fd-white: #ffffff;
        --fd-text: #183c35;

        width: 100%;
        direction: rtl;
        font-family: "Vazirmatn", sans-serif;
    }

    .fd-mobile-nav,
    .fd-mobile-nav ul,
    .fd-mobile-nav li,
    .fd-mobile-nav a,
    .fd-mobile-nav button {
        box-sizing: border-box;
    }

    .fd-mobile-nav ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .fd-mobile-nav li {
        list-style: none !important;
        margin: 0;
    }

    .fd-mobile-nav a {
        position: relative;
        text-decoration: none !important;
    }


    /* =====================================================
       02. LEVEL 1
       محصولات، هدایای سازمانی، مجله و...
       ===================================================== */

    .fd-mobile-nav > div > ul > li,
    .fd-mobile-nav > ul > li,
    .fd-mobile-nav .menu > li {
        position: relative;

        margin: 7px 9px !important;

        border: 1px solid var(--fd-border);
        border-radius: 11px;

        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(252, 250, 246, 0.96) 100%
            );

        box-shadow:
            0 2px 8px rgba(32, 43, 38, 0.035),
            inset 0 0 0 1px rgba(255, 255, 255, 0.72);

        overflow: hidden;

        transition:
            border-color .22s ease,
            box-shadow .22s ease,
            transform .22s ease;
    }

    .fd-mobile-nav .menu > li:hover,
    .fd-mobile-nav .menu > li.fd-open {
        border-color: rgba(198, 161, 91, .55);

        box-shadow:
            0 4px 14px rgba(30, 45, 38, .055),
            0 0 0 1px rgba(198, 161, 91, .08);
    }

    .fd-mobile-nav .menu > li > a {
        min-height: 52px;

        padding:
            13px 46px
            13px 17px !important;

        display: flex !important;
        align-items: center;

        color: var(--fd-text) !important;

        font-size: 13.5px;
        font-weight: 600;
        line-height: 1.5;

        background: transparent !important;
    }


    /* المان طلایی پیش‌فرض برای آیتم‌هایی که آیکون ندارند */

    .fd-mobile-nav .menu > li > a::before {
        content: "";

        position: absolute;
        right: 17px;
        top: 50%;

        width: 8px;
        height: 8px;

        border: 1.5px solid var(--fd-gold);

        transform:
            translateY(-50%)
            rotate(45deg);

        opacity: .82;
    }


    /* =====================================================
       03. TOGGLE / CHEVRON
       ===================================================== */

    .fd-mobile-nav .fd-menu-toggle {
        position: absolute;

        left: 7px;
        top: 7px;

        width: 38px;
        height: 38px;

        padding: 0;

        border: 0;
        background: transparent;

        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 4;
    }

    .fd-mobile-nav .fd-menu-toggle::before {
        content: "";

        width: 7px;
        height: 7px;

        border-left: 1.5px solid var(--fd-green);
        border-bottom: 1.5px solid var(--fd-green);

        transform: rotate(-45deg);

        transition:
            transform .25s ease;
    }

    .fd-mobile-nav li.fd-open > .fd-menu-toggle::before {
        transform: rotate(135deg);
    }


    /* خط طلایی ظریف کنار Chevron */

    .fd-mobile-nav
    li.menu-item-has-children
    > .fd-menu-toggle::after {

        content: "";

        position: absolute;

        right: -1px;
        top: 9px;

        width: 1px;
        height: 20px;

        background:
            linear-gradient(
                to bottom,
                transparent,
                var(--fd-gold),
                transparent
            );

        opacity: .58;
    }


    /* =====================================================
       04. SUBMENU CONTAINER
       ===================================================== */

    .fd-mobile-nav .sub-menu {
        display: none;

        margin:
            0 8px 9px 8px !important;

        padding:
            7px 6px 8px !important;

        background:
            linear-gradient(
                180deg,
                #fdfbf8 0%,
                #fbf8f3 100%
            );

        border:
            1px solid rgba(225, 215, 201, .85);

        border-radius: 10px;

        box-shadow:
            inset 0 1px 3px rgba(24, 60, 53, .025);
    }

    .fd-mobile-nav
    li.fd-open
    > .sub-menu {

        display: block;

        animation:
            fdSubmenuOpen .24s ease both;
    }

    @keyframes fdSubmenuOpen {

        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* =====================================================
       05. LEVEL 2
       بر اساس هنر / نوع محصول / انتخاب ویژه
       ===================================================== */

    .fd-mobile-nav .sub-menu > li {
        position: relative;

        margin:
            5px 0 !important;

        border:
            1px solid rgba(229, 221, 210, .88);

        border-radius: 8px;

        background:
            rgba(255, 255, 255, .78);

        overflow: hidden;
    }

    .fd-mobile-nav
    .sub-menu
    > li
    > a {

        min-height: 45px;

        padding:
            11px 42px
            11px 14px !important;

        display: flex !important;
        align-items: center;

        font-size: 12.8px;
        font-weight: 500;
        line-height: 1.45;

        color:
            var(--fd-green) !important;

        background:
            transparent !important;
    }


    /* المان طلایی پیش‌فرض سطح دوم */

    .fd-mobile-nav
    .sub-menu
    > li
    > a::before {

        content: "✦";

        position: absolute;

        right: 15px;
        top: 50%;

        transform:
            translateY(-50%);

        color:
            var(--fd-gold);

        font-size: 8px;
        line-height: 1;

        opacity: .88;
    }


    /* =====================================================
       06. LEVEL 3
       هنرها و انواع محصولات
       ===================================================== */

    .fd-mobile-nav
    .sub-menu
    .sub-menu {

        margin:
            0 7px 7px !important;

        padding:
            4px 5px 6px !important;

        border-radius: 8px;

        background:
            rgba(255, 255, 255, .70);
    }

    .fd-mobile-nav
    .sub-menu
    .sub-menu
    > li {

        margin:
            4px 0 !important;

        border:
            1px solid rgba(231, 224, 214, .82);

        border-radius: 7px;

        background: #fff;
    }

    .fd-mobile-nav
    .sub-menu
    .sub-menu
    > li
    > a {

        min-height: 42px;

        padding:
            9px 42px
            9px 12px !important;

        font-size: 12px;
        font-weight: 450;
    }


    /* =====================================================
       07. GLOBAL SVG ICON SYSTEM
       ===================================================== */

    .fd-mobile-nav
    li[class*="fd-icon-"]
    > a,

    .fd-mobile-nav
    li[class*="fd-m-"]
    > a {

        position: relative;

        padding-right:
            52px !important;
    }

    .fd-mobile-nav
    li[class*="fd-icon-"]
    > a::before,

    .fd-mobile-nav
    li[class*="fd-m-"]
    > a::before {

        content: "" !important;

        position: absolute;

        right: 14px;
        top: 50%;

        width: 24px;
        height: 24px;

        transform:
            translateY(-50%) !important;

        background-repeat:
            no-repeat !important;

        background-position:
            center !important;

        background-size:
            contain !important;

        border:
            0 !important;

        opacity:
            1 !important;

        transition:
            opacity .20s ease,
            filter .20s ease;
    }


    /* =====================================================
       08. PRODUCTS PARENT
       ===================================================== */

    .fd-mobile-nav
    .fd-m-products
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/main-categories.svg") !important;
    }


    /* =====================================================
       09. PRODUCT GROUP PARENTS
       بر اساس هنر / نوع محصول / انتخاب ویژه
       ===================================================== */


    /* بر اساس هنر */

    .fd-mobile-nav
    .fd-m-art
    > a::before {

        width: 20px;
        height: 20px;

        background-image:
            none !important;

        border:
            1.6px solid var(--fd-gold) !important;

        border-radius:
            50% !important;

        box-shadow:
            inset 0 0 0 4px #fff,
            inset 0 0 0 5.5px
            rgba(198, 161, 91, .75);

        transform:
            translateY(-50%)
            rotate(45deg) !important;
    }


    /* نوع محصول */

    .fd-mobile-nav
    .fd-m-type
    > a::before {

        width: 20px;
        height: 20px;

        background-image:
            linear-gradient(
                var(--fd-green),
                var(--fd-green)
            ),
            linear-gradient(
                var(--fd-green),
                var(--fd-green)
            ),
            linear-gradient(
                var(--fd-green),
                var(--fd-green)
            ),
            linear-gradient(
                var(--fd-gold),
                var(--fd-gold)
            ) !important;

        background-size:
            7px 7px,
            7px 7px,
            7px 7px,
            7px 7px !important;

        background-position:
            0 0,
            13px 0,
            0 13px,
            13px 13px !important;

        background-repeat:
            no-repeat !important;
    }


    /* انتخاب ویژه */

    .fd-mobile-nav
    .fd-m-special
    > a::before {

        width: 20px;
        height: 20px;

        background-image:
            none !important;

        border:
            1.6px solid var(--fd-gold) !important;

        box-shadow:
            inset 0 0 0 4px #fff,
            inset 0 0 0 5px
            rgba(24, 60, 53, .90);

        transform:
            translateY(-50%)
            rotate(45deg) !important;
    }


    /* =====================================================
       10. SPECIAL SELECTION ICONS
       ===================================================== */

    .fd-mobile-nav
    .fd-icon-special-vip
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-vip.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-special-super-luxury
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-super-luxury.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-special-luxury
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-luxury.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-special-economic
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-economic.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-special-bestseller
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-bestseller.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-special-new
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/special-new.svg") !important;
    }


    /* =====================================================
       11. ART ICONS
       ===================================================== */

    .fd-mobile-nav
    .fd-icon-gold-leaf
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-gold-leaf.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-turquoise
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-turquoise.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-khatam
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-khatam.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-silver
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-silver.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-diamond
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-diamond.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-copper
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/art-copper.svg") !important;
    }


    /* =====================================================
       11. PRODUCT TYPE ICONS
       ===================================================== */

    .fd-mobile-nav
    .fd-icon-ajil-khori
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-ajil-khori.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-abneh
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-abneh.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-boshghab
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-boshghab.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-yek-hediyeh
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-yek-hediyeh.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-tang
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-tang.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-cheragh-nafti
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-cheragh-nafti.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-sayer-mahsulat
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-sayer-mahsulat.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-service-ha
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-service-ha.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-sonboldan
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-sonboldan.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-sangab
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-sangab.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-shokolat-khori
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-shokolat-khori.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-shamdan
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-shamdan.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-shirini-khori
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-shirini-khori.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-ghalyan
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-ghalyan.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-ghandan
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-ghandan.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-kashkool
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-kashkool.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-goldan
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-goldan.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-laleh
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-laleh.svg") !important;
    }

    .fd-mobile-nav
    .fd-icon-miveh-khori
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/type-miveh-khori.svg") !important;
    }


    /* =====================================================
       12. NON-PRODUCT MAIN MENU ICONS
       ===================================================== */

    .fd-mobile-nav
    .fd-m-corporate
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/corporate-gifts.svg") !important;
    }

    .fd-mobile-nav
    .fd-m-catalog
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/catalog.svg") !important;
    }

    .fd-mobile-nav
    .fd-m-price
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/price-list.svg") !important;
    }

    .fd-mobile-nav
    .fd-m-magazine
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/magazine.svg") !important;
    }

    .fd-mobile-nav
    .fd-m-contact
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/contact.svg") !important;
    }

    .fd-mobile-nav
    .fd-m-about
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/about.svg") !important;
    }


    /* =====================================================
       13. ICON SIZE HIERARCHY
       ===================================================== */

    /* منوی سطح اصلی */

    .fd-mobile-nav
    .menu
    > li[class*="fd-m-"]
    > a::before {

        width: 25px;
        height: 25px;
    }


    /* آیکون هنرها */

    .fd-mobile-nav
    .fd-icon-gold-leaf
    > a::before,

    .fd-mobile-nav
    .fd-icon-turquoise
    > a::before,

    .fd-mobile-nav
    .fd-icon-khatam
    > a::before,

    .fd-mobile-nav
    .fd-icon-silver
    > a::before,

    .fd-mobile-nav
    .fd-icon-diamond
    > a::before,

    .fd-mobile-nav
    .fd-icon-copper
    > a::before {

        width: 27px;
        height: 27px;
    }


    /* نوع محصول */

    .fd-mobile-nav
    .fd-m-type
    .sub-menu
    li[class*="fd-icon-"]
    > a::before {

        width: 25px;
        height: 25px;
    }


    /* =====================================================
       14. ACTIVE / CURRENT
       ===================================================== */

    .fd-mobile-nav
    .current-menu-item
    > a,

    .fd-mobile-nav
    .current-product_cat-ancestor
    > a,

    .fd-mobile-nav
    .current-menu-ancestor
    > a {

        color:
            #9f7833 !important;
    }

    .fd-mobile-nav
    .current-menu-item
    > a::before,

    .fd-mobile-nav
    .current-menu-ancestor
    > a::before {

        filter:
            saturate(1.15)
            contrast(1.06);
    }


    /* =====================================================
       15. TOUCH / INTERACTION
       ===================================================== */

    .fd-mobile-nav a:active {
        background:
            rgba(198, 161, 91, .075) !important;
    }

    .fd-mobile-nav
    li[class*="fd-icon-"]
    > a:active::before,

    .fd-mobile-nav
    li[class*="fd-m-"]
    > a:active::before {

        opacity: .72 !important;
    }


    /* =====================================================
       16. ACCESSIBILITY
       ===================================================== */

    .fd-mobile-nav a:focus,
    .fd-mobile-nav button:focus {
        outline: none;
    }

    .fd-mobile-nav button:focus-visible,
    .fd-mobile-nav a:focus-visible {

        outline:
            1px solid var(--fd-gold);

        outline-offset:
            -3px;
    }

}

/* =========================================================
   FARDAD MOBILE MENU
   FINAL ICON FIX + PRODUCT TYPE ICON SPACING
   ========================================================= */

@media (max-width: 767px) {


    /* =====================================================
       01. NON-PRODUCT MAIN MENU ICONS
       هدایای سازمانی / کاتالوگ / لیست قیمت / مجله / تماس / درباره
       ===================================================== */


    /* فضای استاندارد برای آیکون‌های سطح اصلی */

    .fd-mobile-nav li.fd-icon-corporate > a,
    .fd-mobile-nav li.fd-icon-catalog > a,
    .fd-mobile-nav li.fd-icon-price-list > a,
    .fd-mobile-nav li.fd-icon-magazine > a,
    .fd-mobile-nav li.fd-icon-contact > a,
    .fd-mobile-nav li.fd-icon-about > a {

        position: relative !important;

        padding-right: 54px !important;
    }


    /* تنظیم مشترک خود آیکون‌ها */

    .fd-mobile-nav li.fd-icon-corporate > a::before,
    .fd-mobile-nav li.fd-icon-catalog > a::before,
    .fd-mobile-nav li.fd-icon-price-list > a::before,
    .fd-mobile-nav li.fd-icon-magazine > a::before,
    .fd-mobile-nav li.fd-icon-contact > a::before,
    .fd-mobile-nav li.fd-icon-about > a::before {

        content: "" !important;

        position: absolute !important;

        right: 14px !important;
        left: auto !important;

        top: 50% !important;

        width: 27px !important;
        height: 27px !important;

        transform:
            translateY(-50%) !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        background-color:
            transparent !important;

        background-repeat:
            no-repeat !important;

        background-position:
            center !important;

        background-size:
            contain !important;

        opacity: 1 !important;

        z-index: 2 !important;
    }


    /* هدایای سازمانی */

    .fd-mobile-nav
    li.fd-icon-corporate
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/corporate-gifts.svg") !important;
    }


    /* کاتالوگ دیجیتال */

    .fd-mobile-nav
    li.fd-icon-catalog
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/catalog.svg") !important;
    }


    /* لیست قیمت */

    .fd-mobile-nav
    li.fd-icon-price-list
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/price-list.svg") !important;
    }


    /* مجله فرداد */

    .fd-mobile-nav
    li.fd-icon-magazine
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/magazine.svg") !important;
    }


    /* تماس با ما */

    .fd-mobile-nav
    li.fd-icon-contact
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/contact.svg") !important;
    }


    /* درباره ما */

    .fd-mobile-nav
    li.fd-icon-about
    > a::before {

        background-image:
            url("assets/icons/mobile-menu/about.svg") !important;
    }



    /* =====================================================
       02. PRODUCT TYPE SUBMENU
       افزایش فاصله آیکون از عنوان
       ===================================================== */


    /*
     * قبلاً عنوان تقریباً از 52px شروع می‌شد.
     * اکنون 62px می‌دهیم تا آیکون نفس بیشتری داشته باشد.
     */

    .fd-mobile-nav
    .fd-m-type
    .sub-menu
    li[class*="fd-icon-"]
    > a {

        padding-right:
            62px !important;

        padding-left:
            12px !important;
    }


    /*
     * آیکون محصولات:
     * کمی از لبه راست فاصله
     */

    .fd-mobile-nav
    .fd-m-type
    .sub-menu
    li[class*="fd-icon-"]
    > a::before {

        right:
            15px !important;

        width:
            26px !important;

        height:
            26px !important;

        top:
            50% !important;

        transform:
            translateY(-50%) !important;

        background-repeat:
            no-repeat !important;

        background-position:
            center !important;

        background-size:
            contain !important;
    }



    /* =====================================================
       03. PRODUCT TYPE ROW POLISH
       ===================================================== */


    /*
     * کمی افزایش ارتفاع ردیف
     * باعث می‌شود SVGهای گرافیکی بهتر دیده شوند.
     */

    .fd-mobile-nav
    .fd-m-type
    .sub-menu
    li[class*="fd-icon-"]
    > a {

        min-height:
            46px !important;

        line-height:
            1.45 !important;
    }


    /*
     * فاصله عمودی خود ردیف‌ها
     */

    .fd-mobile-nav
    .fd-m-type
    .sub-menu
    > li {

        margin-top:
            5px !important;

        margin-bottom:
            5px !important;
    }



    /* =====================================================
       04. TOUCH FEEDBACK
       ===================================================== */


    .fd-mobile-nav
    li.fd-icon-corporate
    > a:active::before,

    .fd-mobile-nav
    li.fd-icon-catalog
    > a:active::before,

    .fd-mobile-nav
    li.fd-icon-price-list
    > a:active::before,

    .fd-mobile-nav
    li.fd-icon-magazine
    > a:active::before,

    .fd-mobile-nav
    li.fd-icon-contact
    > a:active::before,

    .fd-mobile-nav
    li.fd-icon-about
    > a:active::before {

        opacity:
            .78 !important;
    }

}
