#miralux-shoe-finder {
    max-width: 800px;
    margin: 30px auto;
    padding: 35px;
    direction: rtl;
    font-family: inherit;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.shoe-finder-header {
    text-align: center;
    margin-bottom: 25px;
}

.shoe-finder-header h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.shoe-finder-header p {
    color: #777;
    font-size: 0.9rem;
    margin-top: 5px;
}

.shoe-finder-progress {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    width: 25%;
    height: 100%;
    background: #b51738;
    transition: width 0.3s ease;
}

.shoe-finder-step {
    display: none;
}

.shoe-finder-step.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.shoe-finder-step h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #2c2c2c;
}

.shoe-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.shoe-options button {
    position: relative;
    padding: 14px 16px;
    border: 1.5px solid #ececec;
    background: #fafafa;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13.5px;
    font-family: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #444;
    touch-action: manipulation; /* حذف تأخیر ۳۰۰ میلی‌ثانیه‌ای و double-tap-zoom در موبایل */
    -webkit-tap-highlight-color: transparent;
}

.next-btn,
.prev-btn,
.restart-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.shoe-options button .checkbox-indicator {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;
}

.shoe-options button:hover {
    border-color: #b51738;
    background: #fff;
}

.shoe-options button.selected {
    border-color: #b51738;
    background: #fff5f7;
    color: #b51738;
    font-weight: 600;
}

.shoe-options button.selected .checkbox-indicator {
    background: #b51738;
    border-color: #b51738;
}

.shoe-options button.opt-any {
    grid-column: 1 / -1;
    justify-content: center;
    background: #f5f5f5;
    border-style: dashed;
}

/* اصلاح کامل چیدمان دکمه‌ها در حالت RTL */
.step-navigation {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.step-navigation.single-next {
    justify-content: flex-end;
}

.prev-btn {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    border-radius: 10px;
    padding: 10px 22px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.prev-btn:hover {
    background: #ffffff;
    color: #b51738;
    border-color: #b51738;
}

.next-btn {
    background: #b51738;
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 11px 26px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.next-btn:hover {
    background: #8e102a;
    box-shadow: 0 4px 12px rgba(181, 23, 56, 0.25);
}

/* استایل روشن برای دکمه شروع دوباره */
.restart-wrapper {
    text-align: center;
    margin-top: 35px;
}

.restart-btn {
    background: #ffffff;
    color: #444444;
    border: 1.5px solid #e2e8f0;
    padding: 11px 26px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.restart-btn:hover {
    background: #fff5f7;
    color: #b51738;
    border-color: #b51738;
    box-shadow: 0 4px 12px rgba(181, 23, 56, 0.12);
}

/* نتایج */
.results-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: #1a1a1a;
}

.no-results {
    text-align: center;
    padding: 20px;
}

.no-results p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 15px;
}

.miralux-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.miralux-product-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    background: #fff;
    transition: 0.2s;
}

.miralux-product-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.miralux-product-card img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .shoe-options {
        grid-template-columns: repeat(2, 1fr);
    }
    .miralux-products-grid {
        grid-template-columns: 1fr;
    }
}