   :root {
    font-feature-settings: "ss01";
    --e-global-color-primary: var(--color-primary-hex, #E5AA08);
    --e-global-color-secondary: var(--color-secondary-hex, #818080);
    --e-global-color-text: #111827;
    --e-global-color-accent: var(--color-button-hex, #E5AA08);
    --font-vazir: 'Vazir', Tahoma, Arial, sans-serif;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --scrollbar-width: 6px;
    --scrollbar-track: #f3f4f6;
    --scrollbar-thumb: #d1d5db;
    --scrollbar-thumb-hover: var(--color-primary-hex, #E5AA08);
}
.footer-support-bar--theme {
    background-color: rgb(var(--color-primary));
    color: #fff;
}
html::-webkit-scrollbar,
.scrollbar-custom::-webkit-scrollbar,
#mobile-menu-panel::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}
html::-webkit-scrollbar-track,
.scrollbar-custom::-webkit-scrollbar-track,
#mobile-menu-panel::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 3px;
}
html::-webkit-scrollbar-thumb,
.scrollbar-custom::-webkit-scrollbar-thumb,
#mobile-menu-panel::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}
html::-webkit-scrollbar-thumb:hover,
.scrollbar-custom::-webkit-scrollbar-thumb:hover,
#mobile-menu-panel::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}
html,
.scrollbar-custom,
#mobile-menu-panel {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
input{
    font-feature-settings: "ss01";
}
body {
    font-family: var(--font-vazir);
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, button, [role="button"], input, select, textarea, [tabindex]:not([tabindex="-1"]) {
    -webkit-tap-highlight-color: rgb(var(--color-primary) / 0.2);
    tap-highlight-color: rgb(var(--color-primary) / 0.2);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0.5rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--e-global-color-primary, #E5AA08);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm, 8px);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0.5rem;
    outline: 2px solid #000;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--e-global-color-primary, #E5AA08);
    outline-offset: 2px;
}

.touch-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (pointer: fine) {
    .touch-target {
        min-width: auto;
        min-height: auto;
    }
}

.hero-reference {
    margin-top: 0;
    background: #fff;
}

.hero-reference-title {
    letter-spacing: -0.02em;
}
.hero-search-minimal .hero-search-category-minimal {
    min-width: 110px;
}
[dir="rtl"] .hero-search-minimal .hero-search-category-minimal {
    background-position: left 0.5rem center;
}

.hero-section {
    margin-top: 0;
    background: linear-gradient(165deg, var(--color-primary-600-hex) 0%, var(--color-primary-700-hex) 50%, var(--color-primary-800-hex) 100%);
}
.hero-dots-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 32px 32px;
}
.hero-title { font-weight: 800; letter-spacing: -0.02em; }
.hero-subtitle { opacity: 0.92; }
.hero-search-input { box-shadow: var(--shadow-sm); }
.hero-search-input:focus { box-shadow: var(--shadow-sm), 0 0 0 3px rgb(var(--color-primary) / 0.2); }
.hero-search-btn { box-shadow: var(--shadow-xs); }

.product-card {
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-300-hex);
    transform: translateY(-2px);
}
.product-card-image-wrap {
    height: 240px;
    background: #f9fafb;
}
.product-preview-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
}
.product-card:hover .product-preview-overlay {
    display: flex;
}
.img-placeholder-watermark {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.product-card-home {
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.product-card-home:hover {
    transform: translateY(-4px);
}
.product-card-home-image {
    min-height: 200px;
}
.product-card-home-title {
    letter-spacing: -0.01em;
}
.home-hero-select {
    appearance: none;
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: right 0.75rem center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}
[dir="rtl"] .home-hero-select {
    background-position: left 0.75rem center;
}

@media (max-width: 640px) {
    .hero-search-category-wrap {
        width: 44px;
    }
    .hero-search-category-select {
        position: absolute;
        inset: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        min-width: 44px;
        padding: 0;
        background-image: none !important;
    }
    .hero-search-category-icon {
        width: 44px;
    }
}

.hero-search-wrap {
    position: relative;
}
.hero-search-preview-dropdown {
    max-height: min(85vh, 420px);
    overflow-y: auto;
}
.hero-search-preview-dropdown:not(.hidden) .hero-search-preview-loading:not(.hidden) {
    display: flex !important;
}
.hero-search-preview .scrollbar-thin {
    scrollbar-width: thin;
}
.hero-search-preview a:hover {
    text-decoration: none;
}
.hero-search-preview .hero-search-preview-products {
    display: flex;
    flex-direction: column;
}
.hero-search-preview .hero-search-products-list {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.hero-search-preview .hero-search-products-list::-webkit-scrollbar {
    width: 6px;
}

.hero-search-preview .hero-search-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.hero-search-preview .hero-search-scroll::-webkit-scrollbar {
    width: 6px;
}
.hero-search-preview .hero-search-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}
.hero-search-preview .hero-search-products-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
.hero-search-preview .hero-search-products-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
.hero-search-preview .grid.grid-cols-2 {
    flex-shrink: 0;
}

.hero-search-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}
.hero-search-form--modal {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
    min-height: 0;
    width: 100%;
}
.hero-search-form--modal > .hero-search-wrap--modal {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
}
.hero-search-form--modal .hero-search-toolbar {
    margin-bottom: 0;
}
.hero-search-form--modal .hero-search-input-row {
    flex-shrink: 0;
    border-width: 1.5px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.hero-search-preview-dropdown--modal {
    position: static;
    margin-top: 1.25rem;
    flex: 1;
    min-height: 0;
    max-height: min(52vh, 480px);
    overflow: hidden;
    border-radius: 1rem;
    border-color: #e5e7eb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: #fafafa;
}
.hero-search-preview-dropdown--modal:not(.hidden) {
    display: flex;
    flex-direction: column;
}
.hero-search-preview-dropdown--modal .hero-search-preview-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.hero-search-preview-dropdown--modal .hero-search-preview-content::-webkit-scrollbar {
    width: 6px;
}
.hero-search-preview-dropdown--modal .hero-search-preview-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}
.hero-search-form--modal .hero-search-preview-loading {
    min-height: 180px;
    flex-shrink: 0;
}
.hero-search-form--modal .hero-search-products-list {
    max-height: none;
    overflow: visible;
}
.hero-search-form--modal .hero-search-preview-products {
    flex: none;
}
.hero-search-preview--products-only .hero-search-preview-products {
    border-bottom: 0;
}
.hero-search-trending--modal {
    flex-shrink: 0;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}
@media (max-width: 639px) {
    .header-search-modal__panel {
        max-height: min(94vh, calc(100vh - 1rem));
    }
    .hero-search-preview-dropdown--modal {
        max-height: min(46vh, 360px);
    }
}

.header-search-trigger {
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary-700-hex);
    background: linear-gradient(180deg, var(--color-primary-50-hex) 0%, var(--color-primary-100-hex) 100%);
    border: 1.5px solid var(--color-primary-400-hex);
    box-shadow: 0 2px 10px rgb(var(--color-primary) / 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.header-search-trigger--menu {
    display: none !important;
}
@media (min-width: 1024px) {
    .header-two-rows.header-scrolled .header-search-trigger--menu {
        display: inline-flex !important;
    }
}
.header-top .header-search-trigger:not(.header-search-trigger--menu) {
    display: inline-flex;
}
@media (min-width: 1024px) {
    .header-two-rows.header-scrolled .header-top .header-search-trigger:not(.header-search-trigger--menu) {
        display: none !important;
    }
}
.header-search-trigger:hover {
    color: var(--color-primary-800-hex);
    border-color: var(--color-primary-hex);
    box-shadow: 0 4px 16px rgb(var(--color-primary) / 0.28);
    transform: translateY(-1px);
}
.header-search-trigger:active {
    transform: translateY(0);
}
.header-search-trigger svg {
    color: var(--color-primary-600-hex);
}
.header-search-trigger__label {
    white-space: nowrap;
}
.header-search-trigger__kbd {
    align-items: center;
    padding: 0.125rem 0.375rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e5e7eb;
    line-height: 1.2;
}
@media (max-width: 639px) {
    .header-search-trigger {
        padding: 0;
        width: 2.625rem;
        height: 2.625rem;
        min-width: 2.625rem;
        justify-content: center;
        border-radius: 0.75rem;
    }
    .header-search-trigger__label,
    .header-search-trigger__kbd {
        display: none !important;
    }
}

.header-search-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.header-search-modal__center {
    min-height: 100%;
}
.header-search-modal__body {
    overflow: hidden;
}
.header-search-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.header-search-modal.is-open .header-search-modal__panel {
    animation: headerSearchModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.header-search-modal.is-open .header-search-modal__backdrop {
    animation: headerSearchBackdropIn 0.22s ease forwards;
}
@keyframes headerSearchModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes headerSearchBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body.header-search-modal-open {
    overflow: hidden;
}

.home-products-header-one {
    flex-wrap: wrap;
}
.home-products-title {
    letter-spacing: -0.02em;
}
.home-products-view-all-btn {
    margin-inline-start: auto;
}
.home-products-view-all-btn:hover {
    color: #fff;
}
.home-toolbar-select {
    min-width: 140px;
}
.home-filter-btn {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    gap: 0.35rem;
}
.home-filter-x {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-inline-start: 0.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.85rem;
    line-height: 1;
    font-weight: 700;
}
.home-filter-btn.home-filter-active .home-filter-x {
    display: inline-flex;
}
.home-filter-btn.home-filter-active {
    border-color: var(--e-global-color-primary);
    background: var(--e-global-color-primary);
    color: #fff;
}
.home-filter-btn.home-filter-active:hover {
    background: var(--color-primary-600-hex);
    border-color: var(--color-primary-600-hex);
    color: #fff;
}
.home-cta-btn {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.home-cta-btn:hover {
    transform: translateY(-1px);
}
.home-categories-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.home-categories-track::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

[dir="rtl"] .home-quick-prev svg,
[dir="rtl"] .home-quick-next svg,
[dir="rtl"] .home-calendar-prev svg,
[dir="rtl"] .home-calendar-next svg {
    transform: scaleX(-1);
}

.home-calendar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 1rem;
    background: linear-gradient(180deg, var(--color-primary-50-hex) 0%, #fff 100%);
    border: 1px dashed var(--color-primary-200-hex);
}
.home-calendar-empty__icon {
    width: 5.5rem;
    height: 5.5rem;
    flex-shrink: 0;
}
.home-calendar-empty__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.home-calendar-empty__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.5;
}
.home-calendar-empty__text {
    margin: 0.375rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 20rem;
}
.home-calendar-empty--compact {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.875rem;
    flex: 1 1 auto;
    min-width: min(100%, 17rem);
    padding: 0.875rem 1rem;
    text-align: right;
    align-self: stretch;
    min-height: 5.75rem;
}
.home-calendar-empty--compact .home-calendar-empty__icon {
    width: 3.75rem;
    height: 3.75rem;
}
.home-calendar-empty--compact .home-calendar-empty__title {
    font-size: 0.8125rem;
}
.home-calendar-empty--compact .home-calendar-empty__text {
    font-size: 0.6875rem;
    margin-top: 0.25rem;
    max-width: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}
.section-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-600-hex);
}
.link-arrow:hover {
    color: var(--color-primary-700-hex);
}

.section-header-ref-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}
.section-header-ref-icon-box {
    flex-shrink: 0;
}
.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-600-hex);
    background: #fff;
    border: 2px solid var(--color-primary-300-hex);
    border-radius: 9999px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-view-all:hover {
    background: var(--color-primary-50-hex);
    color: var(--color-primary-800-hex);
    border-color: var(--color-primary-hex);
}
.section-header-ref-arrows .section-header-arrow {
    flex-shrink: 0;
}

.btn-outline-minimal {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-outline-minimal:hover,
.btn-outline-minimal.active {
    border-color: var(--color-primary-300-hex);
    background: var(--color-primary-50-hex);
    color: var(--color-primary-800-hex);
}

.header-two-rows {
    box-shadow: var(--shadow-xs);
    border-bottom: 1px solid #f3f4f6;
}
.header-menu-bar {
    background: #fafafa;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}
.header-menu-bar .nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4b5563;
}
.header-future-features .flex.items-center.rounded-xl {
    max-width: 100%;
}
.header-future-features > div > div:hover {
    color: #111827;
}

.admin-nav-bar {
    top: 6.25rem;
}

.category-card-minimal {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.category-card-minimal:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary-300-hex);
    transform: translateY(-1px);
}

.banner-card-minimal {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s;
}
.banner-card-minimal:hover {
    box-shadow: var(--shadow-sm);
}

.footer-minimal {
    background: #111827;
    border-top: 1px solid #1f2937;
}
.footer-minimal .text-gray-300:hover {
    color: var(--color-primary-300-hex);
}
.footer-minimal h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f3f4f6;
}

.site-footer {
    border-top: 1px solid #e5e7eb;
}
.site-footer .footer-guarantee-item--has-divider {
    border-right: 1px solid #e5e7eb;
}
[dir="rtl"] .site-footer .footer-guarantee-item--has-divider {
    border-right: none;
    border-left: 1px solid #e5e7eb;
}
.site-footer .footer-support-cta {
    box-shadow: var(--shadow-xs);
}
.site-footer .footer-stat-item {
    transition: background-color 0.15s ease;
}
.site-footer .footer-stat-item:hover {
    background-color: var(--color-primary-50-hex);
}
[dir="rtl"] .site-footer .footer-stat-item > div {
    text-align: right;
}
.site-footer .footer-copyright {
    background: #111827;
}
.site-footer a:hover {
    text-decoration: none;
}

.seo-content-section {
    overflow: hidden;
}
.seo-content-prose {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.seo-content-prose p,
.seo-content-prose li,
.seo-content-prose a {
    overflow-wrap: break-word;
    word-break: break-word;
}
.seo-content-prose h2,
.seo-content-prose h3,
.seo-content-prose h4,
.seo-content-prose h5,
.seo-content-prose h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.25em 0 0.55em;
}
.seo-content-prose h2:first-child,
.seo-content-prose h3:first-child,
.seo-content-prose h4:first-child {
    margin-top: 0;
}
.seo-content-prose h2 { font-size: 1.2rem; }
.seo-content-prose h3 { font-size: 1.05rem; }
.seo-content-prose h4 { font-size: 1rem; }
.seo-content-prose p { margin: 0 0 0.85em; }
.seo-content-prose p:last-child { margin-bottom: 0; }
.seo-content-prose ul,
.seo-content-prose ol {
    margin: 0 0 0.9em;
    padding-right: 1.35rem;
    padding-left: 0;
    list-style: disc;
}
.seo-content-prose ol { list-style: decimal; }
.seo-content-prose li { margin: 0.2em 0; }
.seo-content-prose a {
    color: var(--color-primary-600-hex, #4f46e5);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.seo-content-prose a:hover { color: var(--color-primary-700-hex, #4338ca); }
.seo-content-prose strong,
.seo-content-prose b { font-weight: 700; color: #111827; }
.seo-content-prose blockquote {
    margin: 0 0 0.9em;
    padding: 0.4em 0.9em;
    border-right: 3px solid #e5e7eb;
    color: #4b5563;
}
.seo-content-prose table {
    width: 100%;
    margin: 0 0 0.9em;
    border-collapse: collapse;
}
.seo-content-prose th,
.seo-content-prose td {
    border: 1px solid #e5e7eb;
    padding: 0.4em 0.6em;
    text-align: right;
}
@media (max-width: 640px) {
    .seo-content-prose {
        font-size: 0.875rem;
        line-height: 1.65;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-menu {
    animation: slideDown 0.2s ease-out;
}
.user-menu-dropdown {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.group:hover .user-menu-dropdown {
    transform: translateY(0);
}

@keyframes product-img-skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.product-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: #f3f4f6;
}
.product-img-skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: product-img-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: inherit;
}
.product-img-wrap img.product-img-loadable {
    display: block;
    position: relative;
    z-index: 1;
}
img.product-img-loadable,
.fj-gallery-img.product-img-loadable,
.product-card-home-image img[class*="object-cover"],
.product-img-wrap img[class*="object-cover"] {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-img-wrap.loaded img.product-img-loadable {
    opacity: 1;
}
.product-img-wrap.loaded .product-img-skeleton {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

.products-justified-gallery-wrapper.fj-gallery,
.fj-gallery.products-justified-gallery-wrapper {
    direction: ltr;
    text-align: left;
    position: relative;
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.fj-gallery-item {
    position: relative;
    box-sizing: border-box;
    container-type: inline-size;
}
.fj-gallery-item .product-card-justified-content {
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.35s ease-out, opacity 0.3s ease-out;
}
.fj-gallery-item.group:hover .product-card-justified-content {
    transform: translateY(0);
    opacity: 1;
}
.fj-gallery-item.group:hover .product-card-justified-bottom {
    opacity: 1;
}
.fj-gallery-item.group:hover .product-card-justified-formats {
    opacity: 1;
    transform: translateY(0);
}
.fj-gallery-item > a.product-card-justified-link {
    display: block;
    height: 100%;
    direction: rtl;
    text-align: right;
}
.fj-gallery-item > a.product-card-justified-free {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 0;
    padding: 0 !important;
    box-sizing: border-box;
}
.fj-gallery-item .fj-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fj-gallery-item--view-all a {
    min-height: 100%;
}
.fj-gallery-item--view-all .fj-gallery-img {
    visibility: hidden;
}

.product-card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(1.35rem, 11cqi, 2.35rem);
    height: clamp(1.35rem, 11cqi, 2.35rem);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background-color: rgba(255, 255, 255, 0.62);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
    color: #1f2937;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transform: translateZ(0);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.product-card-action-btn:hover,
.product-card-action-btn.is-active {
    color: #dc2626;
    border-color: rgba(255, 255, 255, 0.85);
}
.pcj-subscription-chip {
    position: absolute;
    top: clamp(0.35rem, 2.5cqi, 0.6rem);
    left: clamp(0.35rem, 2.5cqi, 0.6rem);
    z-index: 22;
    display: inline-flex;
    align-items: center;
    direction: ltr;
    height: 1.45rem;
    max-width: calc(100% - clamp(3rem, 24cqi, 4.8rem));
    padding: 0 0.32rem;
    gap: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.72);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
    transition: gap 0.38s cubic-bezier(0.22, 1, 0.36, 1), padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcj-subscription-chip__icon {
    width: 0.8rem;
    height: 0.8rem;
    flex: 0 0 0.8rem;
    object-fit: contain;
}
.pcj-subscription-chip__extra {
    display: grid;
    grid-template-columns: 0fr;
    transition: grid-template-columns 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcj-subscription-chip__row {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #1f2937;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.fj-gallery-item.group:hover .pcj-subscription-chip,
.fj-gallery-item.group:focus-within .pcj-subscription-chip {
    gap: 0.32rem;
    padding-inline-end: 0.5rem;
}
.fj-gallery-item.group:hover .pcj-subscription-chip__extra,
.fj-gallery-item.group:focus-within .pcj-subscription-chip__extra {
    grid-template-columns: 1fr;
}
.fj-gallery-item.group:hover .pcj-subscription-chip__row,
.fj-gallery-item.group:focus-within .pcj-subscription-chip__row {
    opacity: 1;
    transform: none;
}
.pcj-actions .pcj-ico,
.pcj-actions .w-4 {
    width: 58%;
    height: 58%;
    object-fit: contain;
}
.pcj-hover-layer {
    position: absolute;
    inset: 0;
    z-index: 18;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.fj-gallery-item.group:hover .pcj-hover-layer,
.fj-gallery-item.group:focus-within .pcj-hover-layer {
    opacity: 1;
}
.pcj-price-pill {
    position: absolute;
    top: clamp(0.3rem, 2.5cqi, 0.7rem);
    left: clamp(0.3rem, 2.5cqi, 0.7rem);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - clamp(2.8rem, 22cqi, 4.5rem));
    padding: clamp(0.15rem, 1.5cqi, 0.4rem) clamp(0.3rem, 2.8cqi, 0.7rem);
    border-radius: clamp(0.4rem, 3cqi, 0.7rem);
    background: #4b5563;
    color: #fff;
    font-size: clamp(0.58rem, 3.6cqi, 0.78rem);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pcj-price-pill img {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
}
.pcj-discount {
    display: inline-flex;
    align-items: center;
    padding: 0.05em 0.35em;
    border-radius: 999px;
    background: var(--color-secondary-hex, #818080);
    color: #fff;
    font-size: 0.92em;
    line-height: 1.3;
}
.pcj-format {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(1.35rem, 11cqi, 2.35rem);
    height: clamp(1.35rem, 11cqi, 2.35rem);
    max-width: clamp(2.4rem, 22cqi, 4.5rem);
    padding: 0 clamp(0.2rem, 1.6cqi, 0.45rem);
    font-size: clamp(0.5rem, 3.2cqi, 0.65rem);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.62);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transform: translateZ(0);
    color: #1f2937;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pcj-actions {
    position: absolute;
    top: clamp(0.3rem, 2.5cqi, 0.7rem);
    right: clamp(0.3rem, 2.5cqi, 0.7rem);
    gap: clamp(0.15rem, 1.6cqi, 0.4rem);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.fj-gallery-item.group:hover .pcj-actions,
.product-card-home:hover .pcj-actions,
.product-card-home:focus-within .pcj-actions {
    opacity: 1;
    pointer-events: auto;
}
.product-card-home .pcj-actions {
    right: auto;
    left: 0.7rem;
    top: 0.7rem;
}
.pcj-action-form,
.pcj-actions .js-wishlist-toggle-form {
    margin: 0;
    line-height: 0;
}
.product-card-justified-toolbar {
    display: none;
}
.product-card-justified-formats {
    display: inline-flex;
    align-items: center;
    max-width: 55%;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    background: rgba(31, 41, 55, 0.88);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-card-justified-formats--empty {
    visibility: hidden;
    max-width: 0;
    padding: 0;
}
.product-card-justified-badges {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-inline-start: 0.35rem;
    pointer-events: auto;
}
.product-card-justified-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: #ef4444;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
    white-space: nowrap;
}
.product-floating-cta__price,
.pl-price__now,
.header-mini-item-price {
    color: var(--color-secondary-hex, #E11D48);
}
.product-card-justified-vip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.45rem;
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-on-secondary-hex, #fff);
    background: var(--color-secondary-hex, #E11D48);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.product-card-justified-bottom {
    z-index: 12;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
}
.fj-gallery-item .pcj-actions .js-wishlist-toggle-form,
.fj-gallery-item .pcj-actions > a.product-card-action-btn,
.fj-gallery-item .pcj-actions .pcj-action-form {
    position: static;
    opacity: 1;
    transform: none;
    margin: 0;
}
.product-card-featured-mark {
    width: 0.95rem;
    height: 0.95rem;
    padding: 0.28rem;
    box-sizing: content-box;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0.4rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}
.product-card-downloaded {
    position: absolute;
    top: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 24;
    max-width: calc(100% - 8rem);
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.product-card-featured-diamond {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(145deg, #7c3aed, #5b21b6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.4);
    flex-shrink: 0;
    pointer-events: none;
}
.product-card-featured-diamond svg {
    display: block;
}
.product-card-free-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    background: var(--color-purchase-hex, #16A34A);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
    white-space: nowrap;
    max-width: 100%;
}
.product-card-free-download:hover {
    background: var(--color-purchase-600-hex, #047857);
    color: #fff;
    transform: translateY(-1px);
}
.product-card-justified-free {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: auto;
    bottom: auto;
    z-index: 30;
    width: 2.25rem !important;
    height: 2.25rem !important;
    max-width: none;
    padding: 0 !important;
    border-radius: 9999px;
    line-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.fj-gallery-item.group:hover .product-card-justified-free {
    opacity: 1;
    pointer-events: auto;
}

.home-category-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.625rem 1.125rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-primary-hex) 0%, var(--color-primary-600-hex) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 14px rgba(183, 136, 6, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.home-category-view-all-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(183, 136, 6, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, var(--color-primary-400-hex) 0%, var(--color-primary-600-hex) 100%);
}
.home-category-view-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(183, 136, 6, 0.28);
}
.home-category-view-all-btn__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.home-category-view-all-btn:hover .home-category-view-all-btn__icon {
    transform: translateX(-3px);
}
@media (max-width: 639px) {
    .home-category-view-all-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
}

.listing-hero {
    margin-bottom: 0;
}
.listing-hero-filters .listing-select:focus {
    outline: none;
}
.listing-type-chip {
    transition: background-color 0.2s ease, color 0.2s ease;
}
.listing-hero-submit:focus {
    outline: none;
}

.category-tree-section .category-tree-wrapper {
    box-shadow: var(--shadow-xs);
}
.category-tree-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.category-tree-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
[dir="rtl"] .category-tree-prev svg,
[dir="rtl"] .category-tree-next svg {
    transform: scaleX(-1);
}
.content-visibility-auto {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}
.home-category-block.content-visibility-auto {
    contain-intrinsic-size: auto 720px;
}
.seo-content-section {
    contain: layout;
}

.contain-layout {
    contain: layout style;
}

.fj-gallery,
.products-justified-gallery-wrapper {
    contain: layout;
}
#mobile-menu-panel{
    z-index: 1000 !important;
}

/* ─── Mobile menu panel (drawer) ─── */
.mmp-overlay {
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.mmp-overlay.is-open {
    opacity: 1;
}

.mmp {
    background:
        linear-gradient(180deg, var(--color-primary-50-hex) 0%, #ffffff 42%, #fafafa 100%);
    border-left: 1px solid rgb(var(--color-primary) / 0.12);
    border-radius: 1.25rem 0 0 1.25rem;
    box-shadow: -12px 0 40px rgba(17, 24, 39, 0.14);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.mmp.is-open {
    transform: translateX(0);
}

.mmp-header {
    padding: 0.875rem 1rem 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-primary-50-hex) 100%);
    border-bottom: 1px solid #f3f4f6;
}
.mmp-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.mmp-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}
.mmp-brand__logo {
    height: 2.125rem;
    width: auto;
    max-width: 8.5rem;
    object-fit: contain;
}
.mmp-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.mmp-close:hover,
.mmp-close:focus-visible {
    background: #e5e7eb;
    color: #111827;
    outline: none;
}
.mmp-close:active {
    transform: scale(0.96);
}

.mmp-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.35rem 0.35rem 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.mmp-search:focus-within {
    background: #fff;
    border-color: var(--color-primary-400-hex);
    box-shadow: 0 0 0 3px rgb(var(--color-primary) / 0.15);
}
.mmp-search__icon {
    width: 1.125rem;
    height: 1.125rem;
    color: #9ca3af;
    flex-shrink: 0;
}
.mmp-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    color: #111827;
    outline: none;
}
.mmp-search__input::placeholder {
    color: #9ca3af;
}
.mmp-search__btn {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    padding: 0.45rem 0.75rem;
    border-radius: 0.625rem;
    background: var(--color-primary-hex);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.15s ease;
}
.mmp-search__btn,
.mmp-search__btn:hover {
    color: #fff;
}
.header-cta-pro.theme-cta-solid,
.header-cta-pro.theme-cta-solid span,
.header-cta-scrolled.theme-cta-solid,
.header-cta-scrolled.theme-cta-solid span,
.mmp-cta,
.mmp-cta__badge {
    color: #fff !important;
}
.mmp-cta--artist,
.mmp-cta--artist span {
    color: #111827 !important;
}
@media (max-width: 1023px) {
    .header-two-rows .header-top .max-w-7xl > .flex {
        gap: 0.5rem;
    }
    .header-two-rows .header-top .header-cart-mini,
    .header-two-rows .header-top .header-notifications-mini {
        display: none !important;
    }
    .header-two-rows .header-top .order-1 {
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        overflow: visible;
        position: relative;
        z-index: 2;
    }
    .header-two-rows .header-top .order-1 img {
        max-width: 100%;
        object-fit: contain;
    }
    .header-two-rows .header-top .order-2 {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
        position: relative;
        z-index: 1;
    }
}

.mmp-body {
    padding: 0.75rem 0.875rem 1rem;
    -webkit-overflow-scrolling: touch;
}
.mmp-section-label {
    margin: 0.25rem 0.35rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #9ca3af;
    text-transform: none;
}
.mmp-strip {
    margin: 0.9rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid #f3f4f6;
}
.mmp-strip__list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.mmp-strip__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.85rem;
    padding: 0.4rem 0.55rem 0.4rem 0.65rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #eef0f3;
    color: #111827;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mmp-strip__item:hover {
    border-color: color-mix(in srgb, var(--color-primary-hex, #2563eb) 40%, #e5e7eb);
    background: var(--color-primary-50-hex, #f8fafc);
}
.mmp-strip__item--static {
    cursor: default;
}
.mmp-strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.65rem;
    background: var(--color-primary-50-hex, #eff6ff);
    color: var(--color-primary-hex, #2563eb);
}
.mmp-strip__icon svg {
    width: 1rem;
    height: 1rem;
}
.mmp-strip__label {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}
.mmp-strip__chevron {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #9ca3af;
}

.mmp-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mmp-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.875rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}
.mmp-link:hover {
    background: var(--color-primary-100-hex);
    color: var(--color-primary-700-hex);
}
.mmp-link.is-active {
    background: var(--color-primary-100-hex);
    color: var(--color-primary-700-hex);
    box-shadow: inset 3px 0 0 var(--color-primary-hex);
}
.mmp-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.875rem;
}
.mmp-link__icon svg {
    width: 1rem;
    height: 1rem;
}
.mmp-link.is-active .mmp-link__icon,
.mmp-link:hover .mmp-link__icon {
    background: var(--color-primary-200-hex);
    color: var(--color-primary-700-hex);
}
.mmp-link__text {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.mmp-cat__row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}
.mmp-cat__link {
    flex: 1;
    min-width: 0;
}
.mmp-cat__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    flex-shrink: 0;
    border: none;
    border-radius: 0.75rem;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.mmp-cat__toggle:hover,
.mmp-cat__toggle:focus-visible {
    background: #f3f4f6;
    color: #4b5563;
    outline: none;
}
.mmp-cat__toggle svg {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.22s ease;
}
.mmp-cat.is-expanded .mmp-cat__toggle {
    background: var(--color-primary-100-hex);
    color: var(--color-primary-700-hex);
}
.mmp-cat.is-expanded .mmp-cat__toggle svg {
    transform: rotate(180deg);
}

.mmp-sub {
    margin: 0.15rem 0.35rem 0.45rem 0.35rem;
    padding: 0.35rem;
    border-radius: 0.875rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}
.mmp-sub__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.625rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.mmp-sub__link:hover {
    background: #fff;
    color: var(--color-primary-700-hex);
}
.mmp-sub__link--nested {
    padding-right: 1.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}
.mmp-sub__dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #d1d5db;
    flex-shrink: 0;
}
.mmp-sub__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #9ca3af;
}
.mmp-sub__dot--sm {
    width: 0.25rem;
    height: 0.25rem;
}
.mmp-sub__link:hover .mmp-sub__dot {
    background: var(--color-primary-hex);
}
.mmp-sub__link:hover .mmp-sub__icon {
    color: var(--color-primary-hex);
}

.mmp-account {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}
.mmp-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.65rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--color-primary-50-hex) 0%, var(--color-primary-100-hex) 100%);
    border: 1px solid var(--color-primary-300-hex);
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mmp-user-card:hover {
    box-shadow: 0 4px 14px rgb(var(--color-primary) / 0.12);
}
.mmp-user-card:active {
    transform: scale(0.99);
}
.mmp-user-card__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--color-primary-300-hex);
}
.mmp-user-card__avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-200-hex);
    color: var(--color-primary-700-hex);
}
.mmp-user-card__avatar--fallback svg {
    width: 1.25rem;
    height: 1.25rem;
}
.mmp-user-card__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.mmp-user-card__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mmp-user-card__wallet {
    font-size: 0.6875rem;
    color: var(--color-primary-700-hex);
    font-weight: 600;
}
.mmp-user-card__chevron {
    width: 1rem;
    height: 1rem;
    color: #c4a035;
    flex-shrink: 0;
}

.mmp-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}
.mmp-quick {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.875rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    color: #374151;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mmp-quick svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #9ca3af;
}
.mmp-quick:hover {
    background: var(--color-secondary-100-hex);
    border-color: var(--color-secondary-300-hex);
    color: var(--color-secondary-700-hex);
}
.mmp-quick:hover svg {
    color: var(--color-secondary-hex);
}
.mmp-quick__badge {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--color-primary-hex);
    color: #111827;
    font-size: 0.625rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mmp-quick__badge.hidden {
    display: none !important;
}

.mmp-account-links {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.mmp-account-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    border-radius: 0.75rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.mmp-account-link svg {
    width: 1.05rem;
    height: 1.05rem;
    color: #9ca3af;
    flex-shrink: 0;
}
.mmp-account-link:hover {
    background: #f9fafb;
    color: #111827;
}
.mmp-account-link:hover svg {
    color: var(--color-primary-hex);
}

.mmp-footer {
    padding: 0.75rem 1rem 0.9rem;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.04);
}
.mmp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--color-primary-hex) 0%, var(--color-primary-600-hex) 100%);
    color: #111827;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgb(var(--color-primary) / 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.mmp-cta:hover {
    filter: brightness(1.03);
    box-shadow: 0 8px 20px rgb(var(--color-primary) / 0.34);
}
.mmp-cta:active {
    transform: scale(0.985);
}
.mmp-cta__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.28);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.mmp-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.55rem;
}
.mmp-auth__login,
.mmp-auth__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mmp-auth__login {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.mmp-auth__login:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
.mmp-auth__register {
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
}
.mmp-auth__register:hover {
    background: #1f2937;
}

@media (prefers-reduced-motion: reduce) {
    .mmp,
    .mmp-overlay,
    .mmp-cat__toggle svg {
        transition: none;
    }
}

[dir="rtl"] { direction: rtl; }
body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}
.header-top .header-search-wrap input { font-size: 0.8125rem; }
.header-top a, .header-top button { font-size: 0.8125rem; }
@keyframes megaSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
    .header-menu-bar .nav-mega-container {
        left: 0 !important;
        right: 0 !important;
        margin-left: auto;
        margin-right: auto;
        transform: none !important;
    }

    .header-menu-bar .category-item:hover .nav-mega-container,
    .header-menu-bar .category-item.is-mega-open .nav-mega-container,
    .header-menu-bar .category-item:focus-within .nav-mega-container {
        display: block !important;
        animation: megaSlideDown 140ms ease-out both;
    }

    .header-menu-bar .category-item:hover > .category-item-link,
    .header-menu-bar .category-item.is-mega-open > .category-item-link,
    .header-menu-bar .category-item:focus-within > .category-item-link {
        background: #ffffff;
        color: #e5ac22 !important;
    }
}
.header-two-rows .header-top {
    max-height: 3.5rem;
    overflow: visible;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), border-width 0.25s ease, padding 0.25s ease;
}
.header-two-rows.header-scrolled .header-top {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border-width: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}
.header-two-rows.header-top-reveal .header-top {
    animation: headerTopReveal 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes headerTopReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.header-future-features-scroll-wrap {
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}
.header-two-rows.header-scrolled .header-future-features-scroll-wrap {
    opacity: 0;
    transform: scale(0.95) translateY(-4px);
    pointer-events: none;
    visibility: hidden;
    position: absolute;
    width: 0;
    overflow: hidden;
}
.header-two-rows.header-top-reveal .header-future-features-scroll-wrap {
    animation: headerTopReveal 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.header-menu-bar {
    transition: box-shadow 0.35s ease, background-color 0.3s ease, padding 0.35s ease;
}
.header-menu-bar .max-w-7xl { transition: padding 0.35s ease; }
.header-two-rows.header-scrolled .header-menu-bar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-top-color: transparent;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.header-two-rows.header-scrolled .header-menu-bar .max-w-7xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.header-cta-scrolled {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    width: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
.header-two-rows.header-scrolled .header-cta-scrolled {
    display: inline-flex !important;
    opacity: 1;
    visibility: visible;
    width: auto;
    min-width: auto;
    overflow: visible;
    padding: 0.5rem 1rem;
    margin: 0;
    transform: translateY(0);
}
.header-two-rows:not(.header-scrolled) .header-cta-scrolled {
    transform: translateY(-4px);
}
@media (max-width: 768px) {
    .header-two-rows.header-scrolled .header-cta-scrolled {
        display: none !important;
    }
}

.header-two-rows .nav-mega-container {
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.has-announcement-bar .header-two-rows { top: 2.75rem; }

.has-announcement-bar #main-content {
    padding-top: calc(7rem + 2.75rem);
}

#marketing-popup-wrap .popup-anim-in { animation: popupFadeIn 0.25s ease forwards; }
#marketing-popup-wrap .popup-anim-out { animation: popupFadeOut 0.25s ease forwards; }
@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes popupFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

/* ========== Welcome coupon banner ========== */
@keyframes welcome-coupon-pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgb(var(--color-primary) / 0.2);
    }
    50% {
        box-shadow: 0 8px 36px rgb(var(--color-primary) / 0.18), 0 0 0 3px rgb(var(--color-primary) / 0.12);
    }
}
@keyframes welcome-coupon-shine-move {
    0% { transform: translateX(-120%) skewX(-12deg); }
    100% { transform: translateX(220%) skewX(-12deg); }
}
@keyframes welcome-coupon-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-coupon-banner .welcome-coupon-banner__surface {
    animation: welcome-coupon-enter 0.52s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.welcome-coupon-banner--hiding {
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.welcome-coupon-banner--product-page.welcome-coupon-banner--hiding {
    transform: translateX(-50%) translateY(10px) !important;
}

/* موبایل صفحه محصول: بالای نوار شناور خرید (وسط‌چین، فاصله امن) */
@media (max-width: 639px) {
    .welcome-coupon-banner--product-page {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: calc(5.85rem + env(safe-area-inset-bottom, 0px));
        width: min(calc(100vw - 1rem), 28rem);
        max-width: 28rem;
    }
}

@media (min-width: 640px) {
    .welcome-coupon-banner--product-page {
        left: auto;
        right: 1.25rem;
        transform: none;
        bottom: 1.25rem;
        width: min(26rem, calc(100vw - 2rem));
    }
}

@media (min-width: 640px) {
    .welcome-coupon-banner .welcome-coupon-banner__surface {
        animation:
            welcome-coupon-enter 0.52s cubic-bezier(0.34, 1.2, 0.64, 1) both,
            welcome-coupon-pulse-glow 2.8s 0.55s ease-in-out infinite;
    }
    .welcome-coupon-banner__shine {
        background: linear-gradient(
            105deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.65) 50%,
            transparent 60%,
            transparent 100%
        );
        animation: welcome-coupon-shine-move 4.5s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-coupon-banner .welcome-coupon-banner__surface,
    .welcome-coupon-banner__shine {
        animation: none !important;
    }
}

/* محتوای HTML مقالات وبلاگ (TinyMCE) — prose تیلویند در این پروژه فعال نیست */
.blog-post-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.blog-post-content > *:first-child { margin-top: 0; }
.blog-post-content > *:last-child { margin-bottom: 0; }
.blog-post-content p {
    margin: 0 0 1.15em;
    color: #374151;
}
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.6em 0 0.65em;
    letter-spacing: -0.01em;
}
.blog-post-content h1 { font-size: 1.75rem; }
.blog-post-content h2 { font-size: 1.45rem; }
.blog-post-content h3 { font-size: 1.2rem; }
.blog-post-content h4 { font-size: 1.05rem; }
.blog-post-content a {
    color: var(--color-primary-600-hex);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-post-content a:hover { color: var(--color-primary-700-hex); }
.blog-post-content strong,
.blog-post-content b { font-weight: 700; color: #111827; }
.blog-post-content em,
.blog-post-content i { font-style: italic; }
.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 1.15em;
    padding-right: 1.5rem;
    padding-left: 0;
}
.blog-post-content .blog-product-picks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem 1.5rem;
    margin: 0 0 1.25em;
}
@media (min-width: 640px) {
    .blog-post-content .blog-product-picks {
        grid-template-columns: 1fr 1fr;
    }
}
.blog-post-content .blog-product-picks li {
    margin: 0;
    padding: 0.2em 0;
}
.blog-post-content ol { list-style-type: decimal; }
.blog-post-content li {
    margin: 0.35em 0;
    padding-right: 0.25rem;
    color: #374151;
}
.blog-post-content li > ul,
.blog-post-content li > ol {
    margin-top: 0.35em;
    margin-bottom: 0.35em;
}
.blog-post-content blockquote {
    margin: 1.25em 0;
    padding: 0.85em 1.1em;
    border-right: 4px solid var(--color-primary-400-hex);
    background: var(--color-primary-50-hex);
    color: #4b5563;
    border-radius: 0 0.75rem 0.75rem 0;
}
.blog-post-content blockquote p:last-child { margin-bottom: 0; }
.blog-post-content hr {
    margin: 1.75em 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.25em 0;
    display: block;
}
.blog-post-content figure {
    margin: 1.25em 0;
}
.blog-post-content figcaption {
    margin-top: 0.5em;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}
.blog-post-content pre,
.blog-post-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9em;
}
.blog-post-content code {
    background: #f3f4f6;
    padding: 0.15em 0.4em;
    border-radius: 0.35rem;
    color: #111827;
}
.blog-post-content pre {
    background: #111827;
    color: #f9fafb;
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.25em 0;
}
.blog-post-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
.blog-post-content table {
    width: 100%;
    min-width: 28rem;
    border-collapse: collapse;
    margin: 1.35em 0;
    font-size: 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}
.blog-post-content .blog-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.35em 0;
}
.blog-post-content .blog-table-scroll table {
    margin: 0;
}
.blog-post-content thead {
    background: #f9fafb;
}
.blog-post-content th,
.blog-post-content td {
    border: 1px solid #e5e7eb;
    padding: 0.65rem 0.85rem;
    text-align: right;
    vertical-align: top;
    min-width: 6rem;
}
.blog-post-content th {
    font-weight: 700;
    color: #111827;
    background: #f9fafb;
}
.blog-post-content td {
    color: #374151;
}
.blog-post-content tbody tr:nth-child(even) td {
    background: #fafafa;
}
.blog-post-content .blog-callout {
    margin: 1.35em 0;
    padding: 0.95em 1.15em;
    border-radius: 0.9rem;
    border-right: 4px solid var(--color-primary-600-hex);
    background: var(--color-primary-50-hex);
}
.blog-post-content .blog-callout p:last-child { margin-bottom: 0; }
.blog-post-content .blog-callout--important {
    border-color: #b45309;
    background: #fff7ed;
}
.blog-post-content .blog-callout--tip {
    border-color: #0f766e;
    background: #f0fdfa;
}
.blog-post-content .blog-callout--warning {
    border-color: #b91c1c;
    background: #fef2f2;
}
.blog-post-content a.blog-btn,
.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-600-hex);
    color: #fff !important;
    text-decoration: none !important;
    padding: 0.6em 1.2em;
    border-radius: 0.7rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.blog-post-content a.blog-btn:hover,
.blog-btn:hover { background: var(--color-primary-700-hex); color: #fff !important; }
.blog-code {
    position: relative;
    margin: 1.25em 0;
}
.blog-code pre { margin: 0; padding-top: 2.5rem; }
.blog-code__copy {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    background: #374151;
    color: #fff;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    cursor: pointer;
}
.notice-hero,
.notice-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    direction: ltr;
}
.notice-hero__image,
.notice-card__image {
    width: 42%;
    min-width: 42%;
    background: #f3f4f6;
}
.notice-hero__image img,
.notice-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.notice-hero__placeholder,
.notice-card__placeholder {
    width: 100%;
    min-height: 16rem;
    background: linear-gradient(135deg, #fef3c7, #f3f4f6);
}
.notice-hero__text,
.notice-card__text {
    width: 58%;
    direction: rtl;
    text-align: right;
    padding: 1.5rem 1.75rem;
}
.notice-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.9rem;
    overflow: hidden;
}
.notice-card:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); }
@media (max-width: 767px) {
    .notice-hero,
    .notice-card { flex-direction: column; }
    .notice-hero__image,
    .notice-card__image,
    .notice-hero__text,
    .notice-card__text { width: 100%; min-width: 0; }
    .notice-hero__image img,
    .notice-card__image img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
    .blog-post-content {
        font-size: 0.98rem;
        line-height: 1.75;
    }
    .blog-post-content h1 { font-size: 1.4rem; }
    .blog-post-content h2 { font-size: 1.25rem; }
    .blog-post-content h3 { font-size: 1.1rem; }
}

.archive-related__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.archive-related__chip:hover { border-color: var(--color-primary-600-hex); background: var(--color-primary-50-hex); color: var(--color-primary-700-hex); }
.archive-related__chip--tag { background: #f8fafc; }
.listing-access__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}
.listing-access__chip.is-active.listing-access__chip--free { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }

/* Amount fields: thousand-separated number + unit box (تومان / روز / ٪) */
.amount-input,
.plan-input-addon {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    overflow: hidden;
}
.amount-input:focus-within,
.plan-input-addon:focus-within {
    border-color: var(--color-primary-hex, #c9a227);
    box-shadow: 0 0 0 3px rgb(201 162 39 / 0.16);
}
.amount-input__field,
.plan-input-addon__field {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #111827;
    -moz-appearance: textfield;
    appearance: textfield;
}
.amount-input__field.js-thousand-sep,
.plan-input-addon__field.js-thousand-sep {
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}
.amount-input__field::-webkit-outer-spin-button,
.amount-input__field::-webkit-inner-spin-button,
.plan-input-addon__field::-webkit-outer-spin-button,
.plan-input-addon__field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.amount-input__unit,
.plan-input-addon__unit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.85rem;
    background: #f3f4f6;
    border-right: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}
.amount-input--sm {
    min-height: 2.25rem;
    width: 11rem;
}
.amount-input--sm .amount-input__field {
    padding: 0.4rem 0.75rem;
}
.listing-access__chip.is-active.listing-access__chip--vip { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.listing-access__chip.is-active.listing-access__chip--subscription { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.listing-access__chip:hover { border-color: #d1d5db; }

.home-banners-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem;
}
.home-banners-track::-webkit-scrollbar { display: none; }
.home-banner-slide {
    flex: 0 0 86%;
    scroll-snap-align: center;
}
.home-banner-media {
    aspect-ratio: 5 / 2;
}
.home-banners-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}
.home-banners-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}
.home-banners-dot.is-active {
    width: 18px;
    background: rgb(var(--color-primary));
}
@media (min-width: 768px) {
    .home-banners-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding: 0 1rem;
        scroll-snap-type: none;
    }
    .home-banner-slide {
        flex: none;
        width: auto;
    }
    .home-banners-dots {
        display: none !important;
    }
}

.footer-social--eitaa {
    background-color: #fc8000;
    color: #fff;
}
.footer-social--eitaa:hover {
    background-color: #e07000;
    color: #fff;
}

.scroll-top {
    position: fixed;
    z-index: 9996;
    right: 1.15rem;
    bottom: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-primary-hex, #E5AA08) 35%, #ffffff);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary-hex, #E5AA08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(1.15rem) scale(0.72);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.55s cubic-bezier(0.22, 1.45, 0.36, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.scroll-top svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.scroll-top.is-visible:hover,
.scroll-top.is-visible:focus-visible {
    opacity: 1;
    visibility: visible;
    background: var(--color-primary-hex, #E5AA08);
    color: #fff;
    transform: translateY(0) scale(1);
    box-shadow: 0 14px 32px rgb(var(--color-primary, 229 170 8) / 0.35);
}
.scroll-top.is-visible:hover svg { transform: translateY(-2px); }
.scroll-top:focus-visible {
    outline: 2px solid var(--color-primary-hex, #E5AA08);
    outline-offset: 3px;
}
body:has(#floating-widgets-wrap) .scroll-top { bottom: 5.75rem; }
@media (max-width: 640px) {
    body:has(.product-floating-cta.is-visible) .scroll-top { bottom: 5.6rem; }
    body:has(#floating-widgets-wrap):has(.product-floating-cta.is-visible) .scroll-top { bottom: 9.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-top { transition: none; }
}

.site-toast-stack {
    position: fixed;
    z-index: 10050;
    left: 1rem;
    right: auto;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: min(22rem, calc(100% - 2rem));
    pointer-events: none;
}
.site-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    animation: site-toast-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-toast.is-leaving {
    animation: site-toast-out 0.32s ease forwards;
}
.site-toast--success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}
.site-toast--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.site-toast__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}
.site-toast__close:hover { color: #111827; background: rgba(17, 24, 39, 0.06); }
.site-toast__text {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.55;
}
.site-toast__link {
    display: inline-flex;
    margin-inline-start: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-toast__mark {
    flex-shrink: 0;
    display: inline-flex;
    color: currentColor;
}
.site-toast--info .site-toast__mark { color: #6b7280; }
@keyframes site-toast-in {
    from { opacity: 0; transform: translateY(1.15rem); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes site-toast-out {
    to { opacity: 0; transform: translateY(0.85rem); }
}
@media (max-width: 640px) {
    body:has(.product-floating-cta.is-visible) .site-toast-stack {
        bottom: 4.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-toast,
    .site-toast.is-leaving { animation: none; }
}
