/**
 * استایل‌های ویجت‌های Atlasshop Core
 */

/* استایل‌های ویجت جستجو */
.atlasshop-search-widget {
    width: 100%;
    max-width: 100%;
}

.atlasshop-search-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.atlasshop-search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    direction: rtl;
    flex-direction: row-reverse;
}

.atlasshop-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    color: #333333;
    width: 100%;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

.atlasshop-search-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.atlasshop-search-input::-webkit-input-placeholder {
    color: #9ca3af;
}

.atlasshop-search-input::-moz-placeholder {
    color: #9ca3af;
    opacity: 1;
}

.atlasshop-search-input:-ms-input-placeholder {
    color: #9ca3af;
}

.atlasshop-search-button {
    border: none;
    background-color: #2563eb;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
}

.atlasshop-search-button:hover {
    background-color: #1d4ed8;
}

.atlasshop-search-button:active {
    background-color: #1e40af;
}

.atlasshop-search-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.atlasshop-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex-shrink: 0;
}

.atlasshop-search-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.atlasshop-search-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.atlasshop-search-icon i,
.atlasshop-search-icon .atlasshop-elementor-icon {
    font-size: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.atlasshop-search-icon i svg,
.atlasshop-search-icon .atlasshop-elementor-icon svg {
    width: 100% !important;
    height: 100% !important;
    fill: currentColor;
    display: block;
}

.atlasshop-search-icon i:before {
    font-size: 100%;
    line-height: 1;
    display: block;
}

/* اطمینان از اینکه آیکن‌های المنتور به درستی بزرگ می‌شوند */
.atlasshop-search-icon i[class*="eicon"],
.atlasshop-search-icon i[class*="fa"],
.atlasshop-search-icon i[class*="fab"],
.atlasshop-search-icon i[class*="far"],
.atlasshop-search-icon i[class*="fas"] {
    font-size: 100% !important;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .atlasshop-search-wrapper {
        flex-direction: row;
    }
    
    .atlasshop-search-input {
        font-size: 16px; /* جلوگیری از زوم در iOS */
    }
}

/* استایل‌های RTL */
[dir="rtl"] .atlasshop-search-wrapper {
    direction: rtl;
    flex-direction: row-reverse;
}

[dir="rtl"] .atlasshop-search-input {
    text-align: right;
}

[dir="rtl"] .atlasshop-search-button {
    border-radius: 8px 0 0 8px;
}

[dir="ltr"] .atlasshop-search-wrapper {
    direction: ltr;
    flex-direction: row;
}

[dir="ltr"] .atlasshop-search-input {
    text-align: left;
}

[dir="ltr"] .atlasshop-search-button {
    border-radius: 0 8px 8px 0;
}

/* استایل‌های حالت فوکوس */
.atlasshop-search-input:focus {
    outline: none;
}

.atlasshop-search-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* استایل‌های Elementor Editor */
.elementor-editor-active .atlasshop-search-form {
    pointer-events: auto;
}

.elementor-editor-active .atlasshop-search-button {
    pointer-events: auto;
}

/* باکس نتایج جستجو */
.atlasshop-search-widget {
    position: relative;
}

.atlasshop-search-results-box {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
    margin-top: 10px;
}

.atlasshop-search-widget.show-results .atlasshop-search-results-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.atlasshop-search-results-box::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    height: 10px;
    background: transparent;
}

.atlasshop-recent-searches {
    width: 100%;
}

.atlasshop-recent-searches-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.atlasshop-recent-searches-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.atlasshop-recent-searches-title svg {
    flex-shrink: 0;
    color: #2563eb;
}

.atlasshop-recent-searches-list {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.atlasshop-recent-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    text-decoration: none;
    color: #333333;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    gap: 8px;
}

.atlasshop-recent-search-item:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #2563eb;
}

.atlasshop-recent-search-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atlasshop-recent-search-item svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.atlasshop-recent-search-item:hover svg {
    opacity: 1;
    transform: translateX(-2px);
}

/* استایل‌های RTL */
[dir="rtl"] .atlasshop-recent-search-item svg {
    transform: scaleX(-1);
}

[dir="rtl"] .atlasshop-recent-search-item:hover svg {
    transform: scaleX(-1) translateX(2px);
}

/* ============================================
   استایل‌های ویجت سبد خرید
   ============================================ */

.atlasshop-cart-container {
    position: relative;
    display: inline-block;
}

.atlasshop-cart-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.atlasshop-cart-link:hover {
    transform: scale(1.05);
}

.atlasshop-cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.atlasshop-cart-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.atlasshop-cart-icon i,
.atlasshop-cart-icon svg {
    color: #000000;
}

.atlasshop-cart-icon svg {
    display: block;
}

.atlasshop-cart-badge {
    position: absolute;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #ff0000;
    color: #ffffff;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Dropdown منوی سبد خرید */
.atlasshop-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

.atlasshop-cart-container:hover .atlasshop-cart-dropdown,
.atlasshop-cart-container.show-dropdown .atlasshop-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* اتصال dropdown به container */
.atlasshop-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    right: 0;
    left: auto;
    width: 100%;
    height: 12px;
    background: transparent;
}

.atlasshop-cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.atlasshop-cart-item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    align-items: center;
}

.atlasshop-cart-item:last-child {
    border-bottom: none;
}

.atlasshop-cart-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    padding-right: 50px;
    text-decoration: none;
    color: #111827;
    transition: background 0.2s ease;
    flex: 1;
    min-width: 0;
}

.atlasshop-cart-item-link:hover {
    background: #f9fafb;
}

.atlasshop-cart-item-remove {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
    opacity: 0.7;
}

.atlasshop-cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
    opacity: 1;
}

.atlasshop-cart-item-remove svg {
    width: 18px;
    height: 18px;
}

.atlasshop-cart-item-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
}

.atlasshop-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atlasshop-cart-item-info {
    flex: 1;
    min-width: 0;
}

.atlasshop-cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atlasshop-cart-item-meta {
    font-size: 13px;
    color: #6b7280;
}

.atlasshop-cart-item-quantity {
    font-weight: 600;
}

.atlasshop-cart-item-price {
    color: #2563eb;
    font-weight: 600;
}

.atlasshop-cart-footer {
    padding: 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.atlasshop-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    color: #111827;
}

.atlasshop-cart-total strong {
    font-weight: 700;
}

.atlasshop-cart-total span {
    color: #2563eb;
    font-weight: 700;
}

.atlasshop-cart-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer;
}

.atlasshop-cart-button:hover {
    background: #1d4ed8;
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.atlasshop-cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.atlasshop-cart-empty p {
    margin: 0;
    font-size: 15px;
}

/* استایل‌های RTL */
[dir="rtl"] .atlasshop-cart-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .atlasshop-cart-dropdown::before {
    right: auto;
    left: 0;
}

[dir="rtl"] .atlasshop-cart-item-remove {
    left: auto;
    right: 12px;
}

[dir="rtl"] .atlasshop-cart-item-link {
    padding-right: 16px;
    padding-left: 50px;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .atlasshop-cart-dropdown {
        width: calc(100vw - 40px);
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .atlasshop-cart-container:hover .atlasshop-cart-dropdown,
    .atlasshop-cart-container.show-dropdown .atlasshop-cart-dropdown {
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   استایل‌های ویجت دکمه منو کاربری
   ============================================ */

.atlasshop-user-menu-container {
    position: relative;
    display: inline-block;
}

.atlasshop-user-menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.atlasshop-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.atlasshop-button-text {
    white-space: nowrap;
}

.atlasshop-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atlasshop-button-icon i,
.atlasshop-button-icon svg {
    font-size: inherit;
}

.atlasshop-button-icon svg {
    width: 1em;
    height: 1em;
}

/* زیر منو */
.atlasshop-user-submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

.atlasshop-user-menu-container:hover .atlasshop-user-submenu,
.atlasshop-user-menu-container.show-submenu .atlasshop-user-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.atlasshop-user-submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    height: 10px;
    background: transparent;
}

.atlasshop-user-submenu-item {
    display: block;
}

.atlasshop-user-submenu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #333333;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.atlasshop-user-submenu-item:hover a {
    background-color: #f5f5f5;
}

.atlasshop-user-submenu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    width: 16px;
}

.atlasshop-user-submenu-item-icon i,
.atlasshop-user-submenu-item-icon svg {
    font-size: inherit;
}

.atlasshop-user-submenu-item-icon svg {
    width: 1em;
    height: 1em;
}

.atlasshop-user-submenu-item-text {
    flex: 1;
    white-space: nowrap;
}

/* استایل‌های RTL */
[dir="rtl"] .atlasshop-user-submenu {
    right: auto;
    left: 0;
}

[dir="rtl"] .atlasshop-button-icon {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .atlasshop-user-submenu-item-icon {
    margin-left: 0;
    margin-right: 10px;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .atlasshop-user-submenu {
        width: calc(100vw - 40px);
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .atlasshop-user-menu-container:hover .atlasshop-user-submenu,
    .atlasshop-user-menu-container.show-submenu .atlasshop-user-submenu {
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   استایل‌های ویجت خبرنامه
   ============================================ */

.atlasshop-newsletter-widget {
    width: 100%;
    max-width: 100%;
}

.atlasshop-newsletter-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.atlasshop-newsletter-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    gap: 8px;
    direction: rtl;
}

.atlasshop-newsletter-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    outline: none;
    background-color: #f5f5f5;
    padding: 12px 16px;
    font-size: 14px;
    color: #333333;
    border-radius: 8px;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.atlasshop-newsletter-input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
}

.atlasshop-newsletter-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.atlasshop-newsletter-button {
    border: none;
    background-color: #ef4444;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 44px;
    min-height: 44px;
}

/* اگر فقط آیکن باشد (بدون متن) */
.atlasshop-newsletter-button-icon-only {
    padding: 12px;
    width: 44px;
    height: 44px;
    aspect-ratio: 1;
}

.atlasshop-newsletter-button-icon-only .atlasshop-newsletter-button-icon {
    margin: 0;
}

.atlasshop-newsletter-button:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

.atlasshop-newsletter-button:active {
    transform: translateY(0);
}

.atlasshop-newsletter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.atlasshop-newsletter-button.loading {
    position: relative;
    color: transparent;
}

.atlasshop-newsletter-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.atlasshop-newsletter-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atlasshop-newsletter-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.atlasshop-newsletter-button-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.atlasshop-newsletter-button-icon svg {
    display: block;
    flex-shrink: 0;
}

.atlasshop-newsletter-button-text {
    white-space: nowrap;
}

.atlasshop-newsletter-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.atlasshop-newsletter-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.atlasshop-newsletter-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* استایل‌های RTL */
[dir="rtl"] .atlasshop-newsletter-wrapper {
    direction: rtl;
}

[dir="ltr"] .atlasshop-newsletter-wrapper {
    direction: ltr;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .atlasshop-newsletter-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .atlasshop-newsletter-input {
        width: 100%;
        font-size: 16px; /* جلوگیری از زوم در iOS */
    }
    
    .atlasshop-newsletter-button {
        width: 100%;
    }
}

/* ============================================
   استایل‌های ویجت حساب کاربری
   ============================================ */

.atlasshop-account-dashboard {
    width: 100%;
    max-width: 100%;
}

.atlasshop-account-wrapper {
    display: flex;
    gap: 30px;
    direction: rtl;
    align-items: flex-start;
}

.atlasshop-account-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.atlasshop-account-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.atlasshop-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.atlasshop-account-menu-item {
    margin-bottom: 8px;
}

.atlasshop-account-menu-item:last-child {
    margin-bottom: 0;
}

.atlasshop-account-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.atlasshop-account-menu-link:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.atlasshop-account-menu-item.active .atlasshop-account-menu-link {
    background-color: #3b82f6;
    color: #ffffff;
}

.atlasshop-account-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.atlasshop-account-menu-icon i,
.atlasshop-account-menu-icon svg {
    font-size: inherit;
    width: 1em;
    height: 1em;
}

.atlasshop-account-menu-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.atlasshop-account-content {
    flex: 1;
    min-width: 0;
}

.atlasshop-account-profile-section {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.atlasshop-account-profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.atlasshop-account-profile-avatar {
    flex-shrink: 0;
}

.atlasshop-account-profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.atlasshop-account-profile-details {
    flex: 1;
}

.atlasshop-account-profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.atlasshop-account-profile-phone {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.atlasshop-account-edit-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.atlasshop-account-edit-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.atlasshop-account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.atlasshop-account-stat-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.atlasshop-account-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eff6ff;
    border-radius: 8px;
    flex-shrink: 0;
}

.atlasshop-account-stat-icon i {
    font-size: 24px;
    color: #3b82f6;
}

.atlasshop-account-stat-content {
    flex: 1;
}

.atlasshop-account-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.atlasshop-account-stat-label {
    font-size: 14px;
    color: #6b7280;
}

.atlasshop-account-content-area {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    min-height: 400px;
}

.atlasshop-account-empty-content {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 16px;
}

.atlasshop-account-notice {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 16px;
    color: #92400e;
    text-align: center;
    margin: 20px 0;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1024px) {
    .atlasshop-account-wrapper {
        flex-direction: column;
    }
    
    .atlasshop-account-sidebar {
        width: 100%;
    }
    
    .atlasshop-account-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .atlasshop-account-menu-item {
        margin-bottom: 0;
        flex: 1;
        min-width: 120px;
    }
    
    .atlasshop-account-menu-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .atlasshop-account-profile-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .atlasshop-account-profile-info {
        width: 100%;
    }
    
    .atlasshop-account-edit-btn {
        width: 100%;
        text-align: center;
    }
    
    .atlasshop-account-stats {
        grid-template-columns: 1fr;
    }
    
    .atlasshop-account-content-area {
        padding: 16px;
    }
}

/* ============================================
   استایل‌های ویجت صفحه 404
   ============================================ */

.atlasshop-404-widget {
    background-color: #007aff;
    color: #fff;
    font-size: 100%;
    line-height: 1.5;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.atlasshop-404-widget h1 {
    text-align: center;
    font-size: 15em;
    font-weight: 100;
    margin: 0;
    line-height: 1;
    text-shadow: #0062cc 1px 1px, #0062cc 2px 2px, #0062cc 3px 3px, #0062cd 4px 4px, #0062cd 5px 5px, #0062cd 6px 6px, #0062cd 7px 7px, #0062ce 8px 8px, #0063ce 9px 9px, #0063ce 10px 10px, #0063ce 11px 11px, #0063cf 12px 12px, #0063cf 13px 13px, #0063cf 14px 14px, #0063cf 15px 15px, #0063d0 16px 16px, #0064d0 17px 17px, #0064d0 18px 18px, #0064d0 19px 19px, #0064d1 20px 20px, #0064d1 21px 21px, #0064d1 22px 22px, #0064d1 23px 23px, #0064d2 24px 24px, #0065d2 25px 25px, #0065d2 26px 26px, #0065d2 27px 27px, #0065d3 28px 28px, #0065d3 29px 29px, #0065d3 30px 30px, #0065d3 31px 31px, #0065d4 32px 32px, #0065d4 33px 33px, #0066d4 34px 34px, #0066d4 35px 35px, #0066d5 36px 36px, #0066d5 37px 37px, #0066d5 38px 38px, #0066d5 39px 39px, #0066d6 40px 40px, #0066d6 41px 41px, #0067d6 42px 42px, #0067d6 43px 43px, #0067d7 44px 44px, #0067d7 45px 45px, #0067d7 46px 46px, #0067d7 47px 47px, #0067d8 48px 48px, #0067d8 49px 49px, #0068d8 50px 50px, #0068d9 51px 51px, #0068d9 52px 52px, #0068d9 53px 53px, #0068d9 54px 54px, #0068da 55px 55px, #0068da 56px 56px, #0068da 57px 57px, #0068da 58px 58px, #0069db 59px 59px, #0069db 60px 60px, #0069db 61px 61px, #0069db 62px 62px, #0069dc 63px 63px, #0069dc 64px 64px, #0069dc 65px 65px, #0069dc 66px 66px, #006add 67px 67px, #006add 68px 68px, #006add 69px 69px, #006add 70px 70px, #006ade 71px 71px, #006ade 72px 72px, #006ade 73px 73px, #006ade 74px 74px, #006bdf 75px 75px, #006bdf 76px 76px, #006bdf 77px 77px, #006bdf 78px 78px, #006be0 79px 79px, #006be0 80px 80px, #006be0 81px 81px, #006be0 82px 82px, #006be1 83px 83px, #006ce1 84px 84px, #006ce1 85px 85px, #006ce1 86px 86px, #006ce2 87px 87px, #006ce2 88px 88px, #006ce2 89px 89px, #006ce2 90px 90px, #006ce3 91px 91px, #006de3 92px 92px, #006de3 93px 93px, #006de3 94px 94px, #006de4 95px 95px, #006de4 96px 96px, #006de4 97px 97px, #006de4 98px 98px, #006de5 99px 99px, #006ee5 100px 100px, #006ee5 101px 101px, #006ee6 102px 102px, #006ee6 103px 103px, #006ee6 104px 104px, #006ee6 105px 105px, #006ee7 106px 106px, #006ee7 107px 107px, #006ee7 108px 108px, #006fe7 109px 109px, #006fe8 110px 110px, #006fe8 111px 111px, #006fe8 112px 112px, #006fe8 113px 113px, #006fe9 114px 114px, #006fe9 115px 115px, #006fe9 116px 116px, #0070e9 117px 117px, #0070ea 118px 118px, #0070ea 119px 119px, #0070ea 120px 120px, #0070ea 121px 121px, #0070eb 122px 122px, #0070eb 123px 123px, #0070eb 124px 124px, #0071eb 125px 125px, #0071ec 126px 126px, #0071ec 127px 127px, #0071ec 128px 128px, #0071ec 129px 129px, #0071ed 130px 130px, #0071ed 131px 131px, #0071ed 132px 132px, #0071ed 133px 133px, #0072ee 134px 134px, #0072ee 135px 135px, #0072ee 136px 136px, #0072ee 137px 137px, #0072ef 138px 138px, #0072ef 139px 139px, #0072ef 140px 140px, #0072ef 141px 141px, #0073f0 142px 142px, #0073f0 143px 143px, #0073f0 144px 144px, #0073f0 145px 145px, #0073f1 146px 146px, #0073f1 147px 147px, #0073f1 148px 148px, #0073f1 149px 149px, #0074f2 150px 150px, #0074f2 151px 151px, #0074f2 152px 152px, #0074f3 153px 153px, #0074f3 154px 154px, #0074f3 155px 155px, #0074f3 156px 156px, #0074f4 157px 157px, #0074f4 158px 158px, #0075f4 159px 159px, #0075f4 160px 160px, #0075f5 161px 161px, #0075f5 162px 162px, #0075f5 163px 163px, #0075f5 164px 164px, #0075f6 165px 165px, #0075f6 166px 166px, #0076f6 167px 167px, #0076f6 168px 168px, #0076f7 169px 169px, #0076f7 170px 170px, #0076f7 171px 171px, #0076f7 172px 172px, #0076f8 173px 173px, #0076f8 174px 174px, #0077f8 175px 175px, #0077f8 176px 176px, #0077f9 177px 177px, #0077f9 178px 178px, #0077f9 179px 179px, #0077f9 180px 180px, #0077fa 181px 181px, #0077fa 182px 182px, #0077fa 183px 183px, #0078fa 184px 184px, #0078fb 185px 185px, #0078fb 186px 186px, #0078fb 187px 187px, #0078fb 188px 188px, #0078fc 189px 189px, #0078fc 190px 190px, #0078fc 191px 191px, #0079fc 192px 192px, #0079fd 193px 193px, #0079fd 194px 194px, #0079fd 195px 195px, #0079fd 196px 196px, #0079fe 197px 197px, #0079fe 198px 198px, #0079fe 199px 199px, #007aff 200px 200px;
}

.atlasshop-404-widget p {
    font-size: 2em;
    text-align: center;
    font-weight: 100;
    margin: 20px 0;
}

.atlasshop-404-widget .button {
    font-weight: 300;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    border: 1px solid #efefef;
    padding: .5em;
    border-radius: 3px;
    display: inline-block;
    margin: 6em 0 0 0;
    position: relative;
    transition: all .3s linear;
    background-color: transparent;
}

.atlasshop-404-widget .button:hover {
    background-color: #007aff;
    color: #fff;
}

.atlasshop-404-widget .button .icon-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.atlasshop-404-widget .button .icon-home i,
.atlasshop-404-widget .button .icon-home svg {
    font-size: 1em;
    width: 1em;
    height: 1em;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .atlasshop-404-widget h1 {
        font-size: 8em !important;
    }
    
    .atlasshop-404-widget p {
        font-size: 1.5em !important;
    }
    
    .atlasshop-404-widget .button {
        font-size: 1em;
        margin: 3em 0 0 0;
        padding: 0.8em 1em;
    }
}

@media (max-width: 480px) {
    .atlasshop-404-widget h1 {
        font-size: 5em !important;
    }
    
    .atlasshop-404-widget p {
        font-size: 1.2em !important;
    }
    
    .atlasshop-404-widget .button {
        font-size: 0.9em;
        margin: 2em 0 0 0;
        padding: 0.6em 0.8em;
    }
}

/* ============================================
   استایل‌های ویجت گرید محصولات
   ============================================ */

.atlasshop-products-grid-widget {
    width: 100%;
    max-width: 1600px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
    overflow: visible;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Override wrapperهای Elementor برای محدود کردن عرض */
.elementor-widget-products_grid {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.elementor-widget-products_grid .elementor-widget-container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

/* Override section و column Elementor - استفاده از selector عمومی‌تر */
.elementor-section .elementor-widget-products_grid,
.elementor-column .elementor-widget-products_grid {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.elementor-section .elementor-container .elementor-widget-products_grid,
.elementor-column .elementor-widget-products_grid {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

/* Override برای section و container که شامل products_grid هستند */
.elementor-section:has(.elementor-widget-products_grid) .elementor-container,
.elementor-column:has(.elementor-widget-products_grid) {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.atlasshop-products-grid-widget.atlasshop-horizontal-scroll {
    padding-right: 0 !important;
    margin-right: 0 !important;
    overflow: visible;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid-wrapper {
    width: 100%;
    overflow: visible;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* دکمه مشاهده همه */
.atlasshop-products-filters {
    display: flex !important;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between !important;
    position: relative;
    flex-direction: row;
    direction: rtl;
}

.atlasshop-view-all-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
    order: 2 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.atlasshop-products-filters-wrapper {
    display: flex !important;
    gap: 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    order: 1 !important;
}

.atlasshop-view-all-button:hover {
    background-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
}

.atlasshop-view-all-icon,
.atlasshop-view-all-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.atlasshop-view-all-icon i,
.atlasshop-view-all-icon svg,
.atlasshop-view-all-icon-svg svg {
    display: block;
}

.atlasshop-view-all-button:hover .atlasshop-view-all-icon,
.atlasshop-view-all-button:hover .atlasshop-view-all-icon-svg {
    transform: translateX(-3px);
}

.atlasshop-products-filter {
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.atlasshop-filter-icon,
.atlasshop-filter-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atlasshop-filter-icon i,
.atlasshop-filter-icon svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.atlasshop-filter-icon-svg svg {
    width: 14px;
    height: 14px;
    display: block;
}

.atlasshop-filter-icon-svg {
    line-height: 1;
}

.atlasshop-products-filter:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.atlasshop-products-filter.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.atlasshop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
    width: 100%;
    align-items: stretch;
}

/* Override gap برای همه المنتور المنت‌ها */
.elementor-element .atlasshop-products-grid,
.elementor-2 .elementor-element .atlasshop-products-grid,
.elementor-element.elementor-element-4d9e1a7 .atlasshop-products-grid,
.elementor-element.elementor-element-508a056 .atlasshop-products-grid {
    gap: 10px !important;
}

/* تنظیم gap برای المنتور المنت خاص */
.elementor-2 .elementor-element.elementor-element-508a056 .atlasshop-products-grid {
    gap: 10px !important;
}

/* حالت نمایش افقی با اسکرول */
.atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    gap: 10px;
    width: 100%;
    max-width: 1600px !important;
    margin: 0 auto !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    justify-content: flex-start !important;
    align-items: stretch;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
}

.atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-product-card {
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    overflow: visible;
    margin: 0 !important;
    padding: 0;
}

.atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-product-card:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* در دسکتاپ اسکرول را حذف کن و فقط تعداد محدود نمایش بده */
@media (min-width: 1025px) {
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll {
        padding-right: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid {
        overflow-x: hidden !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 1600px !important;
    }
    
    /* برای محصول آخر، margin-right اضافه کن تا بوردر کامل نمایش داده شود */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-product-card:nth-child(6),
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="5"] .atlasshop-product-card:nth-child(5),
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="4"] .atlasshop-product-card:nth-child(4),
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="3"] .atlasshop-product-card:nth-child(3),
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="2"] .atlasshop-product-card:nth-child(2),
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="1"] .atlasshop-product-card:nth-child(1) {
        margin-right: 0 !important;
    }
    
    /* تنظیم بر اساس data-max-visible */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="1"] .atlasshop-product-card:nth-child(n+2) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="2"] .atlasshop-product-card:nth-child(n+3) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="3"] .atlasshop-product-card:nth-child(n+4) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="4"] .atlasshop-product-card:nth-child(n+5) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="5"] .atlasshop-product-card:nth-child(n+6) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-product-card:nth-child(n+7) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="7"] .atlasshop-product-card:nth-child(n+8) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="8"] .atlasshop-product-card:nth-child(n+9) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="9"] .atlasshop-product-card:nth-child(n+10) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="10"] .atlasshop-product-card:nth-child(n+11) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="11"] .atlasshop-product-card:nth-child(n+12) {
        display: none !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="12"] .atlasshop-product-card:nth-child(n+13) {
        display: none !important;
    }
    
    /* تنظیم عرض کارت‌ها بر اساس تعداد محصولات - برای عرض 1600px */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="1"] .atlasshop-product-card {
        width: calc((1600px - 0px) / 1) !important;
        min-width: calc((1600px - 0px) / 1) !important;
        max-width: calc((1600px - 0px) / 1) !important;
        flex: 0 0 calc((1600px - 0px) / 1) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="2"] .atlasshop-product-card {
        width: calc((1600px - 10px) / 2) !important;
        min-width: calc((1600px - 10px) / 2) !important;
        max-width: calc((1600px - 10px) / 2) !important;
        flex: 0 0 calc((1600px - 10px) / 2) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="3"] .atlasshop-product-card {
        width: calc((1600px - 20px) / 3) !important;
        min-width: calc((1600px - 20px) / 3) !important;
        max-width: calc((1600px - 20px) / 3) !important;
        flex: 0 0 calc((1600px - 20px) / 3) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="4"] .atlasshop-product-card {
        width: calc((1600px - 30px) / 4) !important;
        min-width: calc((1600px - 30px) / 4) !important;
        max-width: calc((1600px - 30px) / 4) !important;
        flex: 0 0 calc((1600px - 30px) / 4) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="5"] .atlasshop-product-card {
        width: calc((1600px - 40px) / 5) !important;
        min-width: calc((1600px - 40px) / 5) !important;
        max-width: calc((1600px - 40px) / 5) !important;
        flex: 0 0 calc((1600px - 40px) / 5) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-product-card {
        width: calc((1600px - 50px) / 6) !important;
        min-width: calc((1600px - 50px) / 6) !important;
        max-width: calc((1600px - 50px) / 6) !important;
        flex: 0 0 calc((1600px - 50px) / 6) !important;
    }
    
    /* اطمینان از نمایش کامل آخرین محصول */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-product-card:last-child {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-products-grid {
        padding-right: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 1600px !important;
    }
    
    /* حذف هرگونه overflow یا clipping */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] {
        overflow: visible !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 1600px !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] * {
        box-sizing: border-box;
    }
    
    /* اطمینان از اینکه container کل عرض را می‌گیرد */
    .elementor-widget-products_grid.atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] {
        width: 100% !important;
        max-width: 1600px !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }
    
    .elementor-widget-products_grid.atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .elementor-widget-container {
        width: 100% !important;
        max-width: 1600px !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
        margin-left: auto !important;
    }
    
    /* اطمینان از نمایش کامل آخرین محصول - اصلاح نهایی */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-products-grid {
        width: 100% !important;
        max-width: 1600px !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-product-card:last-child {
        margin-right: 0 !important;
        padding-right: 0 !important;
        border-right: 1px solid #e5e7eb !important;
        clip-path: none !important;
        overflow: visible !important;
        position: relative;
    }
    
    /* حذف clipping از container */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-products-grid {
        clip-path: none !important;
        overflow: visible !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] {
        clip-path: none !important;
        overflow: visible !important;
        position: relative;
    }
    
    /* حذف clipping از container */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] .atlasshop-products-grid {
        clip-path: none !important;
        overflow: visible !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="6"] {
        clip-path: none !important;
        overflow: visible !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="7"] .atlasshop-product-card {
        width: calc(14.285% - 13px) !important;
        min-width: calc(14.285% - 13px) !important;
        max-width: calc(14.285% - 13px) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible="8"] .atlasshop-product-card {
        width: calc(12.5% - 14px) !important;
        min-width: calc(12.5% - 14px) !important;
        max-width: calc(12.5% - 14px) !important;
    }
}

/* اسکرول فقط در موبایل و تبلت */
@media (max-width: 1024px) {
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid {
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid::-webkit-scrollbar {
        height: 8px;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-products-grid::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    /* تنظیم عرض کارت‌ها در موبایل بر اساس تعداد محصولات قابل نمایش */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible-mobile="1"] .atlasshop-product-card {
        min-width: calc(100% - 15px) !important;
        max-width: calc(100% - 15px) !important;
        width: calc(100% - 15px) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible-mobile="2"] .atlasshop-product-card {
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible-mobile="3"] .atlasshop-product-card {
        min-width: calc(33.333% - 10px) !important;
        max-width: calc(33.333% - 10px) !important;
        width: calc(33.333% - 10px) !important;
    }
    
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll[data-max-visible-mobile="4"] .atlasshop-product-card {
        min-width: calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
        width: calc(25% - 12px) !important;
    }
}

.atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-product-card {
    flex: 0 0 auto !important;
    min-width: 280px;
    max-width: 280px;
    width: 280px;
    flex-shrink: 0;
}

/* حالت گرید عادی */
.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="1"] {
    grid-template-columns: repeat(1, 1fr);
}

.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="5"] {
    grid-template-columns: repeat(5, 1fr);
}

.atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="6"] {
    grid-template-columns: repeat(6, 1fr);
}

/* استایل آیکن دکمه افزودن به سبد */
.atlasshop-add-to-cart-icon,
.atlasshop-add-to-cart-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atlasshop-add-to-cart-icon i,
.atlasshop-add-to-cart-icon svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: inherit;
}

.atlasshop-add-to-cart-icon-svg svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
    color: inherit;
}

.atlasshop-product-add-to-cart .atlasshop-add-to-cart-icon,
.atlasshop-product-add-to-cart .atlasshop-add-to-cart-icon-svg {
    color: inherit;
}

.atlasshop-product-add-to-cart .atlasshop-add-to-cart-icon i,
.atlasshop-product-add-to-cart .atlasshop-add-to-cart-icon svg,
.atlasshop-product-add-to-cart .atlasshop-add-to-cart-icon-svg svg {
    color: inherit;
    fill: currentColor;
}

.atlasshop-add-to-cart-text {
    white-space: nowrap;
}

.atlasshop-product-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.atlasshop-product-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    transition: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    align-self: stretch;
}

.atlasshop-product-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atlasshop-rating-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 12px;
    align-items: center;
}

.atlasshop-rating-stars .far {
    color: #d1d5db;
}

/* آیکن‌های ستاره به صورت SVG لوکال */
.atlasshop-rating-stars svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.atlasshop-rating-stars .star-empty {
    color: #d1d5db;
}

.atlasshop-rating-stars .star-empty svg {
    fill: #d1d5db;
    stroke: #d1d5db;
}

.atlasshop-rating-stars .star-half {
    color: #fbbf24;
}

.atlasshop-rating-stars .star-half svg {
    fill: #fbbf24;
}

.atlasshop-rating-stars .star-full {
    color: #fbbf24;
}

.atlasshop-rating-stars .star-full svg {
    fill: #fbbf24;
}

.atlasshop-rating-value {
    font-size: 12px;
    font-weight: 600;
    color: #333333;
}

.atlasshop-product-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.atlasshop-product-image {
    width: 100%;
    overflow: visible;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    transition: transform 0.3s ease;
}

.atlasshop-product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.atlasshop-product-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* سایه زیر تصویر با hover */
.atlasshop-product-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.atlasshop-product-image {
    position: relative;
    z-index: 2;
}

/* سایه زیر تصویر */
.atlasshop-product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%);
    border-radius: 20px;
    transition: height 0.5s ease, margin-top 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(4px);
}

.atlasshop-product-card:hover .atlasshop-product-image {
    transform: translateY(-8px);
}

.atlasshop-product-card:hover .atlasshop-product-image::after {
    height: 20px;
    margin-top: 28px;
    transform: translateX(-50%) rotate(1deg);
    opacity: 0.7;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.atlasshop-product-card:hover .atlasshop-product-image img {
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

/* ویژگی‌های محصول در هاور */
.atlasshop-product-features-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid #f97316;
    padding: 16px 12px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    z-index: 5;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12), 0 -2px 8px rgba(249, 115, 22, 0.15);
    border-radius: 0 0 23px 23px;
    margin: 0 1px 1px 1px;
}

.atlasshop-product-card:hover .atlasshop-product-features-hover {
    transform: translateY(0);
    opacity: 1;
}

.atlasshop-product-features-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    flex-wrap: nowrap;
    direction: rtl;
}

.atlasshop-product-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 4px 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    max-width: 25%;
}

.atlasshop-product-card:hover .atlasshop-product-feature-item {
    animation: featureFadeIn 0.6s ease forwards;
}

.atlasshop-product-card:hover .atlasshop-product-feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.atlasshop-product-card:hover .atlasshop-product-feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.atlasshop-product-card:hover .atlasshop-product-feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.atlasshop-product-card:hover .atlasshop-product-feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes featureFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.atlasshop-product-feature-item:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.atlasshop-product-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.atlasshop-product-feature-icon > * {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.atlasshop-product-feature-item:hover .atlasshop-product-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.atlasshop-product-feature-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

.atlasshop-product-feature-title {
    font-size: 11px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 28px;
}

.atlasshop-product-feature-item:hover .atlasshop-product-feature-title {
    color: #f97316;
}

.atlasshop-product-feature-separator {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent 0%, #e5e7eb 20%, #e5e7eb 80%, transparent 100%);
    margin: 0 4px;
    flex-shrink: 0;
    opacity: 0.4;
}

.atlasshop-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    transition: padding-bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.atlasshop-product-card:hover .atlasshop-product-info {
    padding-bottom: 80px;
}

.atlasshop-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.5;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.atlasshop-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.atlasshop-product-title a:hover {
    color: #2563eb;
}

.atlasshop-product-price-wrapper {
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.atlasshop-product-discount {
    display: inline-block;
    font-size: 12px;
    color: #ffffff !important;
    background-color: #ef4444;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.atlasshop-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.atlasshop-product-price del {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
}

.atlasshop-product-price ins {
    text-decoration: none;
    color: #ef4444;
}

.atlasshop-product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    align-items: center !important;
    justify-content: center;
    text-align: center !important;
    direction: ltr;
}

.atlasshop-product-add-to-cart {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background-color: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    margin: 0 auto !important;
    text-align: center !important;
    box-sizing: border-box;
}

.atlasshop-product-add-to-cart:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.atlasshop-product-add-to-cart:active {
    transform: translateY(0);
}

.atlasshop-product-quick-view {
    text-align: center !important;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.atlasshop-product-quick-view:hover {
    color: #2563eb;
}

.atlasshop-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 16px;
}

/* Modal مشاهده سریع */
.atlasshop-quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.atlasshop-quick-view-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlasshop-quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.atlasshop-quick-view-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.atlasshop-quick-view-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f3f4f6;
    border-radius: 50%;
    font-size: 24px;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.atlasshop-quick-view-close:hover {
    background-color: #ef4444;
    color: #ffffff;
}

.atlasshop-quick-view-body {
    padding-top: 20px;
}

.atlasshop-quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.atlasshop-quick-view-image {
    width: 100%;
}

.atlasshop-quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.atlasshop-quick-view-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atlasshop-quick-view-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.atlasshop-quick-view-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.atlasshop-quick-view-price {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}

.atlasshop-quick-view-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.atlasshop-quick-view-actions .button,
.atlasshop-quick-view-actions .view-product {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.atlasshop-quick-view-actions .button {
    background-color: #f97316;
    color: #ffffff;
}

.atlasshop-quick-view-actions .button:hover {
    background-color: #ea580c;
}

.atlasshop-quick-view-actions .view-product {
    background-color: #f3f4f6;
    color: #333333;
}

.atlasshop-quick-view-actions .view-product:hover {
    background-color: #e5e7eb;
}

@media (max-width: 768px) {
    .atlasshop-quick-view-product {
        grid-template-columns: 1fr;
    }
    
    .atlasshop-quick-view-actions {
        flex-direction: column;
    }
    
    .atlasshop-quick-view-actions .button,
    .atlasshop-quick-view-actions .view-product {
        width: 100%;
        text-align: center;
    }
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1200px) {
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="4"],
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="5"],
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="6"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="3"],
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="4"],
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="5"],
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid[data-columns="6"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* در حالت افقی، در تبلت عرض کارت‌ها را تنظیم کن */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-product-card {
        min-width: 250px;
        max-width: 250px;
        width: 250px;
    }
}

@media (max-width: 768px) {
    .atlasshop-products-grid-widget:not(.atlasshop-horizontal-scroll) .atlasshop-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    /* در حالت افقی، در موبایل عرض کارت‌ها را تنظیم کن */
    .atlasshop-products-grid-widget.atlasshop-horizontal-scroll .atlasshop-product-card {
        min-width: 220px;
        max-width: 220px;
        width: 220px;
    }
    
    .atlasshop-products-filters {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .atlasshop-products-filter {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .atlasshop-product-card {
        padding: 12px;
    }
    
    .atlasshop-product-title {
        font-size: 13px;
        min-height: 38px;
    }
    
    .atlasshop-product-price {
        font-size: 14px;
    }
    
    .atlasshop-product-add-to-cart {
        padding: 10px;
        font-size: 13px;
    }
    
    .atlasshop-quick-view-content {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .atlasshop-products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .atlasshop-products-filters {
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .atlasshop-view-all-button {
        order: 1 !important;
        margin-bottom: 12px;
    }
    
    .atlasshop-products-filters-wrapper {
        order: 2 !important;
    }
    
    .atlasshop-products-filter {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   استایل‌های ویجت نمایش ویژگی‌ها
   ============================================ */

/* Override Elementor wrapper padding/margin */
.elementor-widget-features_showcase .elementor-widget-container,
.elementor-element.elementor-widget-features_showcase {
    padding: 0 !important;
    margin: 0 !important;
}

.atlasshop-features-showcase {
    width: 100%;
    max-width: 100%;
    background-color: #f5f5f5;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: visible;
    direction: rtl;
}

.atlasshop-features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.atlasshop-features-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 50px 0;
    position: relative;
    z-index: 2;
    padding: 50px 20px 0 20px;
}

.atlasshop-features-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    position: relative;
    z-index: 2;
    padding: 0 20px 80px 20px;
    direction: rtl;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.atlasshop-features-container::-webkit-scrollbar {
    display: none;
}

.atlasshop-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    min-width: 150px;
}

.atlasshop-feature-icon-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.atlasshop-feature-icon {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    border: 3px solid #f97316 !important;
    border-style: solid !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.atlasshop-feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.atlasshop-feature-icon i,
.atlasshop-feature-icon svg,
.atlasshop-feature-icon-svg svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.atlasshop-feature-icon i {
    font-size: 1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.atlasshop-feature-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.atlasshop-feature-icon-svg svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
    fill: currentColor;
    stroke: currentColor;
    object-fit: contain;
}

.atlasshop-feature-text {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin: 0;
    max-width: 150px;
    line-height: 1.5;
}

.atlasshop-feature-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 15px;
    padding-top: 0;
    align-self: flex-start;
    margin-top: 60px;
}

.atlasshop-feature-arrow svg {
    display: block;
    width: 40px;
    height: 10px;
}

.atlasshop-features-top-shape-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    overflow: visible;
    z-index: 1;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.atlasshop-features-top-shape-wrapper .atlasshop-features-shape {
    width: 100%;
    max-width: 100%;
    height: 94px;
    display: block;
    color: #ffffff;
    margin: 36px 0 0 0 !important;
    padding: 0 !important;
    transform: scaleY(-1) scale(0.5);
    transform-origin: center top;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.atlasshop-features-bottom-shape-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    z-index: 1;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.atlasshop-features-bottom-shape-wrapper .atlasshop-features-shape,
.atlasshop-features-bottom-shape {
    width: 100%;
    max-width: 100%;
    height: 94px;
    display: block;
    color: #ffffff;
    margin: 0 0 -14px 0 !important;
    padding: 0 !important;
    transform: scale(0.5);
    transform-origin: 50% 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1200px) {
    .atlasshop-features-container {
        gap: 0;
    }
    
    .atlasshop-feature-item {
        min-width: 130px;
    }
    
    .atlasshop-feature-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .atlasshop-feature-icon i,
    .atlasshop-feature-icon svg,
    .atlasshop-feature-icon-svg svg {
        width: 40px;
        height: 40px;
    }
    
    .atlasshop-feature-icon i {
        font-size: 40px;
    }
    
    .atlasshop-feature-arrow {
        margin: 0 10px;
        padding-top: 0;
        margin-top: 50px;
    }
    
    .atlasshop-feature-arrow svg {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .atlasshop-features-showcase {
        padding: 40px 15px 0;
    }
    
    .atlasshop-features-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .atlasshop-features-container {
        padding-bottom: 30px;
        justify-content: flex-start;
    }
    
    .atlasshop-feature-item {
        min-width: 120px;
    }
    
    .atlasshop-feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .atlasshop-feature-icon i,
    .atlasshop-feature-icon svg,
    .atlasshop-feature-icon-svg svg {
        width: 30px;
        height: 30px;
    }
    
    .atlasshop-feature-icon i {
        font-size: 30px;
    }
    
    .atlasshop-feature-text {
        font-size: 12px;
        max-width: 120px;
    }
    
    .atlasshop-feature-arrow {
        margin: 0 8px;
        padding-top: 0;
        margin-top: 40px;
    }
    
    .atlasshop-feature-arrow svg {
        width: 25px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .atlasshop-features-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .atlasshop-feature-item {
        min-width: auto;
        width: calc(50% - 10px);
    }
    
    .atlasshop-feature-arrow {
        display: none;
    }
}

/* استایل‌های ویجت محصولات تخفیف‌دار */
.atlasshop-discounted-products-widget {
    width: 100%;
    position: relative;
    direction: rtl;
}

.atlasshop-discounted-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.atlasshop-discounted-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
}

.atlasshop-discounted-navigation {
    display: flex;
    gap: 8px;
}

.atlasshop-discounted-nav-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f3f4f6;
    color: #666666;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.atlasshop-discounted-nav-button:hover {
    background-color: #e5e7eb;
    color: #333333;
}

.atlasshop-discounted-nav-button:active {
    transform: scale(0.95);
}

.atlasshop-discounted-nav-button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.atlasshop-discounted-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.atlasshop-discounted-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
}

.atlasshop-discounted-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: none;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}

.atlasshop-discounted-slide.active {
    display: flex;
}

.atlasshop-discounted-slide-content {
    padding: 0;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.atlasshop-discounted-product-image {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlasshop-discounted-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.atlasshop-discounted-product-image a {
    display: block;
}

.atlasshop-discounted-product-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 60px;
}

.atlasshop-discounted-product-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.5;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.atlasshop-discounted-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.atlasshop-discounted-product-title a:hover {
    color: #2563eb;
}

.atlasshop-discounted-discount-banner {
    display: inline-block;
    font-size: 12px;
    color: #ffffff !important;
    background-color: #ef4444;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.atlasshop-discounted-product-price-wrapper {
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.atlasshop-discounted-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-top: 0;
}

.atlasshop-discounted-product-info {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.atlasshop-discounted-progress-bar {
    position: absolute;
    bottom: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: #e5e7eb;
    overflow: hidden;
    border-radius: 1px;
    direction: rtl;
}

.atlasshop-discounted-progress-bar-fill {
    height: 100%;
    background-color: #f97316;
    width: 0%;
    transition: none;
    transform-origin: right center;
    direction: rtl;
    position: relative;
}

.atlasshop-discounted-slide.active .atlasshop-discounted-progress-bar-fill {
    animation: progressBarFillRTL linear forwards;
    animation-duration: var(--progress-duration, 4s);
}

@keyframes progressBarFillRTL {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .atlasshop-discounted-title {
        font-size: 20px;
    }
    
    .atlasshop-discounted-nav-button {
        width: 36px;
        height: 36px;
    }
    
    .atlasshop-discounted-product-title {
        font-size: 14px;
    }
    
    .atlasshop-discounted-product-price {
        font-size: 16px;
    }
}

/* استایل‌های ویجت گرید محصولات متحرک */
.atlasshop-animated-products-grid-widget {
    width: 100%;
    max-width: 1600px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
}

.atlasshop-animated-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.atlasshop-animated-product-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    align-self: stretch;
    transform-origin: top center;
    transition: transform 0.5s ease, z-index 0s;
    will-change: transform;
    z-index: 1;
}

.atlasshop-animated-product-card:hover {
    z-index: 50;
}

.atlasshop-animated-products-grid {
    overflow: visible;
}

.atlasshop-animated-product-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.atlasshop-animated-product-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atlasshop-animated-product-rating .atlasshop-rating-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 12px;
    align-items: center;
}

.atlasshop-animated-product-rating .atlasshop-rating-stars svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.atlasshop-animated-product-rating .atlasshop-rating-value {
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    margin-right: 4px;
}

.atlasshop-animated-product-image {
    width: 100%;
    overflow: visible;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    transition: transform 0.3s ease;
}

.atlasshop-animated-product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.atlasshop-animated-product-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.atlasshop-animated-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.atlasshop-animated-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.5;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.atlasshop-animated-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.atlasshop-animated-product-title a:hover {
    color: #2563eb;
}

.atlasshop-animated-product-price-wrapper {
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
}

.atlasshop-animated-product-discount {
    display: inline-block;
    font-size: 12px;
    color: #ffffff !important;
    background-color: #ef4444;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.atlasshop-animated-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.atlasshop-animated-product-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.atlasshop-animated-product-view-button {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background-color: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center !important;
    direction: ltr;
}

.atlasshop-animated-product-view-button:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    color: #ffffff;
}

/* Responsive برای گرید محصولات متحرک */
.atlasshop-animated-products-grid-widget[data-columns-desktop="1"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(1, 1fr);
}

.atlasshop-animated-products-grid-widget[data-columns-desktop="2"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(2, 1fr);
}

.atlasshop-animated-products-grid-widget[data-columns-desktop="3"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.atlasshop-animated-products-grid-widget[data-columns-desktop="4"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.atlasshop-animated-products-grid-widget[data-columns-desktop="5"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(5, 1fr);
}

.atlasshop-animated-products-grid-widget[data-columns-desktop="6"] .atlasshop-animated-products-grid {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1024px) {
    .atlasshop-animated-products-grid-widget[data-columns-tablet="1"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .atlasshop-animated-products-grid-widget[data-columns-tablet="2"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .atlasshop-animated-products-grid-widget[data-columns-tablet="3"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .atlasshop-animated-products-grid-widget[data-columns-tablet="4"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .atlasshop-animated-products-grid-widget[data-columns-mobile="1"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .atlasshop-animated-products-grid-widget[data-columns-mobile="2"] .atlasshop-animated-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .atlasshop-animated-products-grid {
        gap: 15px;
    }
    
    .atlasshop-animated-product-card {
        padding: 12px;
    }

/* ================================
   ویجت لیست مقالات
=============================== */

.atlasshop-posts-list-wrapper {
    width: 100%;
}

.atlasshop-posts-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
    flex-direction: row;
    direction: rtl;
}

.atlasshop-small-posts {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    align-self: stretch;
}

.atlasshop-small-post-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.atlasshop-small-post-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    background-color: #fafafa;
}

.atlasshop-small-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.atlasshop-small-post-image {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.atlasshop-small-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atlasshop-small-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* زمان خواندن روی تصویر */
.atlasshop-read-time-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.atlasshop-read-time-overlay svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

.atlasshop-large-post-card {
    flex: 1;
    min-height: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    min-height: 500px;
    transition: all 0.3s ease;
    align-self: stretch;
}

.atlasshop-large-post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.atlasshop-large-post-card:hover .atlasshop-large-post-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

/* لینک شفاف برای کلیک روی کل کارت */
.atlasshop-large-post-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
}

.atlasshop-large-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.atlasshop-large-post-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: right;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.atlasshop-large-post-content .atlasshop-post-title a {
    pointer-events: auto;
}

/* برچسب دسته‌بندی */
.atlasshop-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ef4444;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
    pointer-events: auto;
}

.atlasshop-category-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* زیرعنوان کارت بزرگ */
.atlasshop-large-post-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0.95;
}

/* عنوان اصلی کارت بزرگ (مثل "پیکسل گوگل") */
.atlasshop-large-post-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* متن برند/مجله */
.atlasshop-large-post-brand {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 15px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* عنوان پست */
.atlasshop-post-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.atlasshop-small-post-card .atlasshop-post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: right;
    line-height: 1.3;
}

.atlasshop-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.atlasshop-post-title a:hover {
    text-decoration: underline;
}

.atlasshop-small-post-card .atlasshop-post-title a:hover {
    color: #2563eb;
}

/* خلاصه پست */
.atlasshop-posts-list-wrapper .atlasshop-post-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* متادیتا */
.atlasshop-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
}

.atlasshop-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
}

.atlasshop-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.atlasshop-large-post-card .atlasshop-meta-item svg {
    width: 16px;
    height: 16px;
}

/* لینک مطالعه */
.atlasshop-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: auto;
}

.atlasshop-read-more:hover {
    color: #1d4ed8;
    gap: 8px;
}

.atlasshop-read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.atlasshop-read-more:hover svg {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .atlasshop-posts-layout {
        flex-direction: column;
    }
    
    .atlasshop-small-posts {
        flex: 1;
        width: 100%;
    }
    
    .atlasshop-large-post-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .atlasshop-small-post-card {
        flex-direction: column;
    }
    
    .atlasshop-small-post-image {
        width: 100%;
        height: 200px;
        flex: none;
    }
    
    .atlasshop-large-post-card {
        min-height: 350px;
        padding: 20px;
    }
    
    .atlasshop-post-title {
        font-size: 20px;
    }
    
    .atlasshop-small-post-card .atlasshop-post-title {
        font-size: 16px;
    }
}
}