/**
 * 响应式样式
 */

/* 平板设备及小屏幕桌面 */
@media screen and (max-width: 991px) {
    .ep-product-info {
        width: 40%;
    }

    .ep-step-content {
        padding: 14px 16px 16px;
    }

    .ep-navigation {
        padding: 12px 16px;
    }

    .readers-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* 手机 */
@media screen and (max-width: 768px) {
    .ep-modal-header {
        padding: 12px 16px;
    }

    .ep-modal-title {
        font-size: 16px;
    }

    .ep-product-info {
        display: none;
    }

    .ep-select-lenses-steps {
        width: 100%;
    }

    .ep-step-progress {
        padding: 14px 12px 36px;
    }

    .ep-step h3 {
        padding: 8px 16px 16px;
        font-size: 18px;
    }

    .ep-step-content {
        padding: 12px 12px 16px;
    }

    .ep-my-prescription {
        margin-right: 12px;
    }

    .ep-navigation {
        padding: 12px;
    }

    .prescription-option {
        padding: 12px 40px 12px 12px;
    }

    .prescription-table th,
    .prescription-table td {
        padding: 9px 6px;
        font-size: 13px;
    }

    .readers-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .lens-option {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .lens-option-image {
        width: 100%;
        max-width: 140px;
        height: 100px;
        margin: 0 auto;
    }
}

/* 超小屏 */
@media screen and (max-width: 480px) {
    .ep-back-btn,
    .ep-next-btn,
    .ep-add-to-cart-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .step-point {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .step-label {
        font-size: 10px;
        top: 34px;
    }

    .readers-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .dual-pd-container {
        flex-direction: column;
    }

    .dual-pd-container > div {
        width: 100%;
    }

    .prescription-option-icon {
        width: 36px;
        height: 36px;
    }

    .prescription-option-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* 移动端友好的触摸区域 */
@media (max-width: 767px) {
    .prescription-option,
    .reader-option,
    .lens-option,
    .ep-back-btn,
    .ep-next-btn,
    .ep-add-to-cart-btn {
        min-height: 44px;
    }

    .prescription-option,
    .reader-option,
    .lens-option {
        touch-action: manipulation;
    }
}
