/* BUTTON */
.optical-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
}

/* MODAL BACKGROUND */
#optical-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999999;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
/* Active state */
#optical-modal.active {
    opacity: 1;
    visibility: visible;
}

/* MODAL BOX */
.optical-modal-content {
    position: absolute;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    transition: 0.4s ease;
}
@media (max-width: 767px){

    .optical-modal-content {
        right: -100%;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    #optical-modal.active .optical-modal-content {
        right: 0;
    }

}

#optical-modal.active .optical-modal-content{
	right: 0;
}

.optical-modal-content::-webkit-scrollbar {
    width: 6px;
}
.optical-modal-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
/* ANIMATION */
@keyframes fadeIn {
    from {opacity:0; transform: translateY(-10px);}
    to {opacity:1; transform: translateY(0);}
}

/* CLOSE BUTTON */
.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* STEPS */
.optical-step {
    display: none;
}

.optical-step.active {
    display: block;
}

/* NAVIGATION */
.step-nav {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.step-nav button {
    padding: 10px 15px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* PRESCRIPTION FIELDS */
.prescription-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prescription-fields select {
    flex: 1 1 45%;
    padding: 8px;
}

/* ============================= */
/* CARD COMMON STYLE */
/* ============================= */

.lens-options,
.coating-options,
.addon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* COMMON CARD */
.lens-card,
.coating-card,
.addon-card {
    flex: 1 1 45%;
    border: 1px solid #ccc;
    padding: 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #fff;
}

/* HIDE INPUT */
.lens-card input,
.coating-card input,
.addon-card input {
    display: none;
}

/* HOVER */
.lens-card:hover,
.coating-card:hover,
.addon-card:hover {
    border-color: #000;
}

/* ACTIVE STATE */
.lens-card.active,
.coating-card.active,
.addon-card.active {
    border: 2px solid #000;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* CLICK EFFECT */
.lens-card:active,
.coating-card:active,
.addon-card:active {
    transform: scale(0.97);
}

/* ============================= */
/* SUMMARY */
/* ============================= */

.summary-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.summary-box p {
    margin: 5px 0;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media(max-width: 600px) {

    .lens-card,
    .coating-card,
    .addon-card {
        flex: 1 1 100%;
    }

    .optical-modal-content {
        width: 100%;
/*         margin-top: 20%; */
    }

}

/* Prescription Grid */
.prescription-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.eye-box {
    flex: 1 1 45%;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    background: #fafafa;
}

.eye-box h4 {
    margin-bottom: 10px;
}

/* Dropdown full width */
.eye-box select,
.pd-box select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

/* PD Box */
.pd-box {
    margin-top: 15px;
}
.prescription-upload {
    display: none;
}

.prescription-upload.active {
    display: block;
}

.prescription-manual {
    display: none;
}

.prescription-manual.active {
    display: block;
}

.coating-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.coating-card {
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
}

.coating-card input {
    display: none;
}

.coating-card.active {
    border-color: #0073aa;
    background: #f0f8ff;
}

.addon-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.addon-card {
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
}

.addon-card input {
    display: none;
}

.addon-card.active {
    border-color: #0073aa;
    background: #f0f8ff;
}


.optical-progress {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    font-size: 12px;
    color: #999;
}

.step-item span {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #ddd;
    color: #000;
    font-weight: bold;
    margin-bottom: 5px;
}

/* ACTIVE */
.step-item.active span {
    background: #00b894;
    color: #fff;
}

.step-item.active p {
    color: #000;
    font-weight: 600;
}

/* LINE BETWEEN */
.step-item::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: -1;
}

.step-item:last-child::after {
    display: none;
}

/* COMPLETED */
.step-item.completed span {
    background: #00b894;
    color: #fff;
}

.type-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.type-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    display: block;
    transition: 0.3s;
    position: relative;
}

.type-card input {
    display: none;
}

/* hover */
.type-card:hover {
    border-color: #00b894;
}

/* active */
.type-card.active {
    border-color: #00b894;
    background: #f0fffb;
}


/* ===================================== */
/* 🔥 FINAL FORCE FIX */
/* ===================================== */

/* REMOVE OLD HOVER CONFLICT */
.type-card:hover {
    border-color: #0073aa !important;
    background: #f5fbff !important;
}

/* ACTIVE SHOULD ALWAYS WIN */
.type-card.active {
    border-color: #0073aa !important;
    background: #f0f8ff !important;
}

/* HOVER SHOULD NOT OVERRIDE ACTIVE */
.type-card.active:hover {
    border-color: #0073aa !important;
    background: #f0f8ff !important;
}

/* SAME FOR ALL CARDS */
.lens-card.active:hover,
.coating-card.active:hover,
.addon-card.active:hover {
    border-color: #0073aa !important;
    background: #f0f8ff !important;
}



/* ========================= */
/* STEP 2 - PREMIUM DESIGN */
/* ========================= */

.step-2 h3{
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Toggle Buttons */
.prescription-type-toggle{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.toggle-btn{
    flex:1;
    padding:10px 12px;
    border:2px solid #e5e5e5;
    background:#fff;
    cursor:pointer;
    border-radius:8px;
    font-weight:500;
    transition:0.3s;
}

.toggle-btn.active{
    background:#0073aa;
    color:#fff;
    border-color:#0073aa;
}

.toggle-btn:hover{
    border-color:#0073aa;
}

/* ========================= */
/* MANUAL BOX */
/* ========================= */

.prescription-manual{
    display:none;
    animation:fadeIn 0.3s ease;
}

.prescription-manual.active{
    display:block;
}

/* GRID */
.prescription-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

/* EYE BOX */
.eye-box{
    background:linear-gradient(145deg,#ffffff,#f7f9fc);
    border:1px solid #e6e6e6;
    padding:18px;
    border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.04);
    transition:0.3s;
}

.eye-box:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.eye-box h4{
    margin-bottom:10px;
    font-size:15px;
    color:#0073aa;
}

/* SELECT BOXES */
.eye-box select,
.pd-box select{
    width:100%;
    padding:10px;
    margin-bottom:10px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    transition:0.3s;
}

.eye-box select:focus,
.pd-box select:focus{
    border-color:#0073aa;
    outline:none;
    box-shadow:0 0 0 3px rgba(0,115,170,0.15);
}

/* PD BOX */
.pd-box{
    margin-top:15px;
    padding:18px;
    border-radius:12px;
    background:#f9fbff;
    border:1px solid #e6e6e6;
}

/* ========================= */
/* UPLOAD BOX */
/* ========================= */

.prescription-upload{
    display:none;
    padding:20px;
    border:2px dashed #ccc;
    border-radius:12px;
    text-align:center;
    background:#fafafa;
}

.prescription-upload.active{
    display:block;
}

.prescription-upload input{
    margin-top:10px;
}

/* ========================= */
/* ANIMATION */
/* ========================= */

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

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:768px){
    .prescription-grid{
        grid-template-columns:1fr;
    }
}

/* ===============================
   SUMMARY DESIGN
================================= */

/* FORCE APPLY */
/* ========================= */
/* SUMMARY BOX - PREMIUM UI */
/* ========================= */

.summary-title{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Container */
.summary-box{
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #eaeaea;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Row */
.summary-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f9fafb;
    transition: 0.3s;
}

/* Hover subtle */
.summary-row:hover{
    background: #f1f5f9;
}

/* Label */
.summary-row span{
    font-size: 13px;
    color: #666;
}

/* Value */
.summary-row strong{
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-align: right;
    max-width: 60%;
}

/* ========================= */
/* TOTAL SECTION */
/* ========================= */

.summary-total{
    margin-top: 10px;
    padding-top: 12px;
    border-top: 2px dashed #e5e5e5;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Total label */
.summary-total span{
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Total price */
.summary-total strong{
    font-size: 20px;
    font-weight: 700;
    color: #0073aa;
}

/* ========================= */
/* EMPTY STATE */
/* ========================= */

#summary-coating:empty::after,
#summary-addon:empty::after{
    content: "None";
    color: #999;
    font-weight: 400;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:600px){

    .summary-row{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .summary-row strong{
        text-align: left;
        max-width: 100%;
    }

    .summary-total{
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ===============================
   COLOR SELECTION
================================= */

.step-hint {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.color-panel {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fafafa;
}

.color-panel h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #0073aa;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-card {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 80px;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.color-card input {
    display: none;
}

.color-card:hover {
    border-color: #0073aa;
}

.color-card.active {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0,115,170,0.15);
}

.color-swatch {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 2px solid rgba(0,0,0,0.1);
}

.color-label {
    font-size: 12px;
    font-weight: 500;
    display: block;
}

.no-colors-msg,
.blue-filter-panel {
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    text-align: center;
    background: #fafafa;
    color: #666;
}

/* PD toggle */
.pd-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-toggle-btn {
    flex: 1;
    padding: 8px;
    border: 2px solid #e5e5e5;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.pd-toggle-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pd-dual {
    display: none;
}

.pd-dual.active {
    display: block;
}

.pd-single.active {
    display: block;
}

.pd-dual select {
    margin-bottom: 10px;
}

.optical-alert {
    margin-top: 15px;
    padding: 12px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 13px;
}

.add-box {
    margin-top: 15px;
    padding: 18px;
    border-radius: 12px;
    background: #f9fbff;
    border: 1px solid #e6e6e6;
}

@media(max-width:480px){
    .color-card {
        flex: 0 0 calc(50% - 10px);
    }
}

/* ===============================
   BRAND SELECTION
================================= */
#brand-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-card {
    border: 2px solid #e5e5e5;
    padding: 18px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    display: block;
    position: relative;
}

.brand-card input[type="radio"] {
    display: none;
}

.brand-card:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.1);
}

.brand-card.active {
    border-color: #0073aa;
    background: linear-gradient(145deg, #f0f8ff, #e8f4fd);
    box-shadow: 0 4px 16px rgba(0,115,170,0.15);
}

.brand-card.myopia-auto {
    border-color: #0073aa;
    background: linear-gradient(145deg, #f0f8ff, #e8f4fd);
    cursor: default;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name-row h4,
.brand-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.brand-tagline {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0;
    line-height: 1.4;
}

.brand-tier-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

.brand-tier-badge.premium {
    background: linear-gradient(135deg, #ffd700, #f0c14b);
    color: #6d4c00;
}

.brand-tier-badge.standard {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    color: #333;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.brand-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.myopia-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

/* ===============================
   MYOPIA EDUCATION
================================= */
.myopia-education {
    margin-top: 15px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    border: 1px solid #ddd6fe;
}

.myopia-education .edu-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.myopia-education h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #4c1d95;
}

.myopia-education p {
    font-size: 13px;
    color: #5b21b6;
    line-height: 1.5;
    margin: 0 0 12px;
}

.age-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.age-entry label {
    font-size: 14px;
    font-weight: 600;
    color: #4c1d95;
    white-space: nowrap;
}

.age-entry select {
    padding: 8px 12px;
    border: 2px solid #c4b5fd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    min-width: 140px;
}

.age-entry select:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* ===============================
   VEGA OPTIMIZATION
================================= */
.vega-optimization {
    margin-top: 15px;
    padding: 18px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.vega-optimization h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.base-price-note {
    font-size: 12px;
    font-weight: 400;
    color: #0073aa;
    background: #e8f4fd;
    padding: 2px 8px;
    border-radius: 4px;
}

.opt-options {
    display: flex;
    gap: 10px;
}

.opt-card {
    flex: 1;
    border: 2px solid #e5e7eb;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.opt-card input[type="radio"] {
    display: none;
}

.opt-card:hover {
    border-color: #0073aa;
}

.opt-card.active {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0,115,170,0.1);
}

.opt-card strong {
    font-size: 14px;
    color: #111;
}

.opt-price {
    font-size: 13px;
    color: #0073aa;
    font-weight: 500;
}

/* ===============================
   LENS INDEX ENHANCEMENTS
================================= */
.lens-recommendation {
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 12px;
}

.lens-recommendation.myopia-rec {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #5b21b6;
}

.lens-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.lens-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lens-index-val {
    font-size: 16px;
    color: #111;
}

.lens-label-text {
    font-size: 12px;
    color: #666;
}

.lens-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.lens-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.lens-badge.recommended {
    background: #dcfce7;
    color: #166534;
}

.lens-badge.premium-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.lens-price-tag {
    font-size: 14px;
    font-weight: 600;
    color: #0073aa;
}

/* ===============================
   COATING ENHANCEMENTS
================================= */
.premium-coating-note {
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.included-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
    background: #f59e0b;
    color: #fff;
    letter-spacing: 0.5px;
}

.coating-card-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coating-features {
    font-size: 12px;
    color: #666;
    margin: 2px 0;
    line-height: 1.3;
}

.coating-price-tag {
    font-size: 14px;
    font-weight: 600;
    color: #0073aa;
    margin-top: 4px;
}

/* ===============================
   ADD-ON ENHANCEMENTS
================================= */
.addon-card-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.addon-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.addon-show-when {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.addon-price-tag {
    font-size: 14px;
    font-weight: 600;
    color: #0073aa;
    margin-top: 4px;
}

.no-addons-msg {
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    text-align: center;
    background: #fafafa;
    color: #666;
}

.addon-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
}

/* ===============================
   DELIVERY ESTIMATE
================================= */
.delivery-estimate {
    margin-top: 15px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    font-size: 13px;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-icon {
    font-size: 18px;
}

/* ===============================
   SUMMARY ENHANCEMENTS
================================= */
.myopia-parent-note {
    margin-top: 15px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    border: 1px solid #ddd6fe;
}

.myopia-parent-note h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #4c1d95;
}

.myopia-parent-note p {
    font-size: 13px;
    color: #5b21b6;
    line-height: 1.5;
    margin: 0;
}

.frame-compat-warning {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
}

.frame-compat-warning p {
    margin: 0;
    font-size: 13px;
    color: #991b1b;
    line-height: 1.4;
}

/* ===============================
   PROGRESS BAR 8 STEPS
================================= */
.optical-progress {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
    overflow-x: auto;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    font-size: 11px;
    color: #999;
    min-width: 50px;
}

.step-item span {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: #ddd;
    color: #000;
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 11px;
}

.step-item p {
    margin: 0;
    font-size: 10px;
}

@media(max-width: 480px) {
    .step-item p {
        font-size: 9px;
    }
    .step-item span {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 10px;
    }
    .opt-options {
        flex-direction: column;
    }
}