   :root {
    font-feature-settings: "ss01";
    --e-global-color-primary: #E5AA08;
    --e-global-color-secondary: #818080;
    --e-global-color-text: #111827;
    --e-global-color-accent: #d3a410;
    --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: #E5AA08;
}
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: rgba(229, 170, 8, 0.2);
    tap-highlight-color: rgba(229, 170, 8, 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, #b78806 0%, #956f05 50%, #735504 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 rgba(229, 170, 8, 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: #f5dd9c;
    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: #956f05;
    background: linear-gradient(180deg, #fefbf3 0%, #fcf7e6 100%);
    border: 1.5px solid #efcc6b;
    box-shadow: 0 2px 10px rgba(229, 170, 8, 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: #735504;
    border-color: #E5AA08;
    box-shadow: 0 4px 16px rgba(229, 170, 8, 0.28);
    transform: translateY(-1px);
}
.header-search-trigger:active {
    transform: translateY(0);
}
.header-search-trigger svg {
    color: #b78806;
}
.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.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: #b78806;
    border-color: #b78806;
    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, #fefbf3 0%, #fff 100%);
    border: 1px dashed #f9eac1;
}
.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: #b78806;
}
.link-arrow:hover {
    color: #956f05;
}

.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: #b78806;
    background: #fff;
    border: 2px solid #f5dd9c;
    border-radius: 9999px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-view-all:hover {
    background: #fefbf3;
    color: #735504;
    border-color: #E5AA08;
}
.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: #f5dd9c;
    background: #fefbf3;
    color: #735504;
}

.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: #f5dd9c;
    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: #f5dd9c;
}
.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: #fefbf3;
}
[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;
}
@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;
    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 {
    opacity: 0;
    transition: opacity 0.25s ease-out;
}
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 {
    box-sizing: border-box;
}
.fj-gallery-item .product-card-justified-content {
    transform: translateY(14px);
    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-top {
    transform: translateY(0);
    opacity: 1;
}
.fj-gallery-item a {
    display: block;
    height: 100%;
    direction: rtl;
    text-align: right;
}
.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;
}

.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, #E5AA08 0%, #b78806 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, #efcc6b 0%, #b78806 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;
}

.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, #fffef9 0%, #ffffff 42%, #fafafa 100%);
    border-left: 1px solid rgba(229, 170, 8, 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%, #fffdf6 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: #efcc6b;
    box-shadow: 0 0 0 3px rgba(229, 170, 8, 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: #E5AA08;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.15s ease;
}
.mmp-search__btn:hover {
    background: #b78806;
    color: #fff;
}

.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-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: #fcf7e6;
    color: #956f05;
}
.mmp-link.is-active {
    background: #fcf7e6;
    color: #956f05;
    box-shadow: inset 3px 0 0 #E5AA08;
}
.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: #f9eac1;
    color: #956f05;
}
.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: #fcf7e6;
    color: #956f05;
}
.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: #956f05;
}
.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: #E5AA08;
}
.mmp-sub__link:hover .mmp-sub__icon {
    color: #E5AA08;
}

.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, #fffef9 0%, #fcf7e6 100%);
    border: 1px solid #f5dd9c;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mmp-user-card:hover {
    box-shadow: 0 4px 14px rgba(229, 170, 8, 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 #f5dd9c;
}
.mmp-user-card__avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f9eac1;
    color: #956f05;
}
.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: #956f05;
    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: #fcf7e6;
    border-color: #f5dd9c;
    color: #956f05;
}
.mmp-quick:hover svg {
    color: #E5AA08;
}
.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: #E5AA08;
    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: #E5AA08;
}

.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, #E5AA08 0%, #b78806 100%);
    color: #111827;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(229, 170, 8, 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 rgba(229, 170, 8, 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 rgba(229, 170, 8, 0.2);
    }
    50% {
        box-shadow: 0 8px 36px rgba(229, 170, 8, 0.18), 0 0 0 3px rgba(229, 170, 8, 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: #b78806;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-post-content a:hover { color: #956f05; }
.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 ul { list-style-type: disc; }
.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 #efcc6b;
    background: #fefbf3;
    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;
}
@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; }
}
