/* ══════════════════════════════════════
   NOBLE PHARMA — MULTI-STEP CHECKOUT
   ══════════════════════════════════════ */

/* ── Progress Bar ── */
#npc-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 40px;
}
.npc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.npc-step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: #e0e0e0; color: #999;
    font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s;
    flex-shrink: 0;
}
.npc-step-label {
    font-size: 0.8rem; color: #999;
    white-space: nowrap; font-weight: 500;
}
.npc-step.active .npc-step-num { background: #3d0099; color: #fff; }
.npc-step.done  .npc-step-num  { background: #3d0099; color: #fff; font-size: 1.1rem; }
.npc-step.active .npc-step-label,
.npc-step.done  .npc-step-label { color: #3d0099; font-weight: 700; }
.npc-connector {
    flex: 1; height: 2px; background: #e0e0e0;
    min-width: 80px; max-width: 200px;
    margin-bottom: 28px; transition: background 0.3s;
}
.npc-connector.done { background: #3d0099; }

/* ── Buttons ── */
.npc-nav-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #3d0099; color: #fff !important;
    border: none; border-radius: 8px;
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s;
    text-decoration: none !important;
    line-height: 1.4;
}
.npc-nav-btn:hover { background: #2a006b; color: #fff !important; }
.npc-inline-btn { padding: 11px 22px; font-size: 0.88rem; }

.npc-back-btn {
    background: none; border: none; padding: 0;
    color: #3d0099 !important; font-size: 0.9rem;
    cursor: pointer; display: inline-block;
    margin-bottom: 16px; text-decoration: none !important;
    font-weight: 600;
}
.npc-back-btn:hover { text-decoration: underline !important; }

/* ── Step 1 next button wrap ── */
#npc-step1-btn-wrap {
    display: none;
    padding: 0 0 30px;
}
#npc-step1-btn-wrap .npc-nav-btn {
    display: block; width: 100%;
    text-align: center; box-sizing: border-box;
}

/* ── Step 3 back button ── */
#npc-payment-back {
    display: none;
    padding: 0 0 16px;
}

/* ══ STEP 1: Billing full width ══ */
body.npc-step-1 .elementor-element-4014de5 {
    display: none !important;
}
body.npc-step-1 .elementor-element-29eebdb {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* ══ STEP 3: Payment full width ══ */
body.npc-step-3 .elementor-element-4014de5 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
body.npc-step-3 .elementor-element-29eebdb {
    display: none !important;
}

/* Step 3: inner sections full width & nice styling */
body.npc-step-3 .elementor-element-113a396,
body.npc-step-3 .elementor-element-4b1ef99,
body.npc-step-3 .elementor-element-dfd0a1d {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Payment form spacing */
body.npc-step-3 #payment {
    background: transparent;
    border: none;
    padding: 0;
}
body.npc-step-3 .wc_payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
body.npc-step-3 .payment_box {
    background: #f9f7ff !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-top: 10px !important;
}
body.npc-step-3 .wc-credit-card-form input {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
}
body.npc-step-3 .wc-credit-card-form input:focus {
    border-color: #3d0099 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(61,0,153,.08) !important;
}
body.npc-step-3 .form-row.place-order {
    padding: 0 !important;
    margin-top: 16px !important;
}
body.npc-step-3 #place_order {
    width: 100% !important;
    padding: 15px !important;
    background: #3d0099 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
body.npc-step-3 #place_order:hover { background: #2a006b !important; }

/* Your Order table on step 3 */
body.npc-step-3 .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
}
body.npc-step-3 .shop_table th,
body.npc-step-3 .shop_table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 0.9rem !important;
}
body.npc-step-3 .shop_table tfoot tr:last-child td,
body.npc-step-3 .shop_table tfoot tr:last-child th {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

/* ── Medical Panel Layout ── */
#npc-medical-panel { padding: 0 0 40px; }
.npc-med-inner {
    display: flex; gap: 30px; align-items: flex-start;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.npc-med-left { flex: 1; min-width: 0; }
.npc-med-right {
    width: 340px; flex-shrink: 0;
    position: sticky; top: 100px;
}
.npc-med-right .elementor-section,
.npc-med-right .elementor-container { padding: 0 !important; margin: 0 !important; }
.npc-med-title {
    font-size: 1.6rem; font-weight: 700; color: #1a1a1a; margin: 0;
}

/* ── Medical Inputs ── */
.npc-med-row { display: flex; gap: 14px; margin-bottom: 14px; }
.npc-med-input {
    flex: 1; padding: 14px 16px;
    border: 1px solid #e0e0e0; border-radius: 8px;
    font-size: 0.9rem; color: #1a1a1a; background: #fff;
    box-sizing: border-box; font-family: inherit;
    transition: border-color 0.2s; min-width: 0;
}
.npc-med-input.npc-full { flex: 1 1 100%; }
.npc-med-input:focus {
    outline: none; border-color: #3d0099;
    box-shadow: 0 0 0 3px rgba(61,0,153,.08);
}
.npc-med-input::placeholder { color: #aaa; }

/* ── File Upload ── */
.npc-file-label {
    flex: 1; display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1px solid #e0e0e0;
    border-radius: 8px; cursor: pointer; font-size: 0.85rem;
    color: #333; background: #fff; transition: border-color 0.2s; min-width: 0;
}
.npc-file-label:hover { border-color: #3d0099; }
.npc-file-icon {
    font-size: 1.3rem; color: #555; flex-shrink: 0;
    width: 36px; height: 36px; border: 1px solid #ccc;
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
}
.npc-file-label small { color: #aaa; display: block; font-size: 0.75rem; }

/* ── Date Picker ── */
.npc-date-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s;
    min-width: 0;
}
.npc-date-wrap:hover,
.npc-date-wrap:focus-within { border-color: #3d0099; }
.npc-date-icon { font-size: 1.2rem; flex-shrink: 0; pointer-events: none; }
.npc-date-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 0.85rem;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    cursor: pointer;
    min-width: 0;
}
.npc-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}
.npc-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Lifestyle ── */
.npc-habit-label {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 1px solid #e0e0e0;
    border-radius: 8px; cursor: pointer; font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
.npc-habit-label:hover { border-color: #3d0099; background: #f9f5ff; }
.npc-habit-label input { accent-color: #3d0099; width: 16px; height: 16px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .npc-med-inner { flex-direction: column; }
    .npc-med-right { width: 100%; position: static; }
    .npc-med-row { flex-direction: column; }
    .npc-connector { min-width: 30px; }
    .npc-step-label { font-size: 0.68rem; }
    body.npc-step-3 .elementor-element-113a396,
    body.npc-step-3 .elementor-element-4b1ef99,
    body.npc-step-3 .elementor-element-dfd0a1d { max-width: 100% !important; }
}
@media (max-width: 900px) {
    #npc-step1-btn-wrap {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        padding: 12px 16px;
        margin: 0 -16px;              /* cancel out any container padding, edit if needed */
        box-shadow: 0 -4px 12px rgba(0,0,0,.08);
    }
}

/* ── How to reach you? section ── */
.npc-reach-wrap {
    margin: 4px auto 0;
    padding: 4px 0 0;
}
.npc-reach-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.npc-reach-sub {
    font-size: 0.82rem;
    color: #888;
    margin: 0 0 12px;
}
.npc-reach-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.npc-reach-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}
.npc-reach-label input {
    accent-color: #3d0099;
    width: 16px;
    height: 16px;
}