/* =========================================================
   BUILD MY FOOD BUSINESS
   PRODUCTS JOURNEY
   PART 1
   BUSINESS OS LAYOUT
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #f59e0b;

    --bg: #f7f8fc;
    --card: #ffffff;

    --sidebar: #0f172a;
    --sidebar-light: #1e293b;

    --text: #1f2937;
    --muted: #6b7280;

    --border: #e5e7eb;

    --success: #16a34a;

    --radius: 18px;

    --shadow:
        0 12px 35px rgba(0, 0, 0, .08);

}

body {

    font-family:
        Inter,
        Segoe UI,
        sans-serif;

    background: var(--bg);

    color: var(--text);

}

/* =========================================================
   PRODUCTS JOURNEY APP LAYOUT + PREMIUM SIDEBAR
========================================================= */

.products-journey-app {
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 100vh;
}

/* ========================================================= */

.journey-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    padding: 26px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, .18), transparent 32%),
        linear-gradient(180deg, #0b1220, #111827 52%, #172033);
}

/* =========================================================
   SIDEBAR BRAND CARD
========================================================= */

.journey-brand {
    margin-bottom: 18px;
}

.journey-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 26px 20px;
    border-radius: 24px;

    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.journey-brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin-bottom: 14px;
}

.journey-label {
    margin: 0 0 8px;
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.journey-brand h1 {
    margin: 0;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 900;
}

.journey-brand h2 {
    margin: 2px 0 12px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
}

.journey-brand p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   MISSION CARD
========================================================= */

.journey-sidebar-intro {
    margin-bottom: 18px;
}

.mission-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(251, 191, 36, .10);
    border: 1px solid rgba(251, 191, 36, .25);
}

.mission-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;
    border-radius: 999px;

    background: rgba(251, 191, 36, .16);
    color: #fde68a;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.mission-card h3 {
    margin: 14px 0 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.mission-card p {
    margin: 0 0 12px;
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.65;
}

.mission-card small {
    color: #fde68a;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   SIDEBAR STEPS
========================================================= */

.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.step-link {
    width: 100%;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .045);
    color: #cbd5e1;

    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 12px;

    text-align: left;
    padding: 15px 16px;
    border-radius: 18px;

    cursor: pointer;
    transition: .22s ease;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .08);
    color: #fbbf24;

    font-size: 13px;
    font-weight: 900;
}

.step-link strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}

.step-link small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
}

.step-link:hover {
    background: rgba(255, 255, 255, .085);
    border-color: rgba(255, 255, 255, .12);
    transform: translateX(3px);
}

.step-link.active {
    position: relative;
    background: linear-gradient(135deg, rgba(245, 158, 11, .24), rgba(217, 119, 6, .12));
    border-color: rgba(251, 191, 36, .55);
    box-shadow: 0 12px 30px rgba(217, 119, 6, .18);
}

.step-link.active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 999px;
    background: #fbbf24;
}

.step-link.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
}

.step-link.active strong {
    color: #ffffff;
}

.step-link.active small {
    color: #fde68a;
}

/* =========================================================
   SIDEBAR OWL CARD
========================================================= */

.journey-sidebar-footer {
    margin-top: 18px;
}

.owl-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.owl-card strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.owl-card small {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.65;
}

/* ========================================================= */

.journey-main {

    padding: 45px;

}

/* ========================================================= */

.journey-topbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-bottom: 35px;

}

.eyebrow {

    color: var(--primary);

    font-weight: 700;

    letter-spacing: 2px;

    font-size: 13px;

    text-transform: uppercase;

    margin-bottom: 8px;

}

#stepTitle {

    font-size: 34px;

    font-weight: 700;

}

/* ========================================================= */

.progress-wrap {

    width: 320px;

}

#progressText {

    display: block;

    text-align: right;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 8px;

}

.progress-bar {

    height: 12px;

    background: #ececec;

    border-radius: 999px;

    overflow: hidden;

}

#progressFill {

    width: 10%;

    height: 100%;

    background:

        linear-gradient(90deg,
            var(--primary),
            var(--primary-light));

    border-radius: 999px;

    transition: .35s;

}

/* ========================================================= */

.journey-card {

    background: white;

    border-radius: var(--radius);

    padding: 40px;

    box-shadow: var(--shadow);

    min-height: 650px;

}

/* ========================================================= */

.step-panel {

    display: none;

    animation: fadeIn .35s ease;

}

.step-panel.active {

    display: block;

}

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(12px);

    }

    to {

        opacity: 1;
        transform: none;

    }

}

/* =========================================================
   BUILD MY FOOD BUSINESS
   PRODUCTS JOURNEY
   PART 2
   FORMS • BUTTONS • LISTS • FOOD BUSINESS UI
========================================================= */

/* =========================================================
   HEADINGS
========================================================= */

.step-panel h3 {

    font-size: 30px;
    margin-bottom: 14px;
    color: #111827;

}

.step-panel p {

    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 760px;

}

/* =========================================================
   COACH BOX
========================================================= */

.coach-box {

    margin-top: 30px;

    background: #fff7ed;

    border-left: 6px solid var(--primary);

    padding: 22px;

    border-radius: 16px;

    color: #7c2d12;

    line-height: 1.8;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);

}

.coach-box strong {

    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);

}

/* =========================================================
   LABELS
========================================================= */

label {

    display: block;

    margin-top: 22px;
    margin-bottom: 10px;

    font-weight: 700;

    color: #374151;

}

/* =========================================================
   INPUTS
========================================================= */

input,
textarea,
select {

    width: 100%;

    padding: 15px 18px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: white;

    font-size: 15px;

    transition: .25s;

    outline: none;

}

textarea {

    min-height: 130px;

    resize: vertical;

}

input:focus,
textarea:focus,
select:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(245, 158, 11, .15);

}

/* =========================================================
   BUTTONS
========================================================= */

button {

    font-family: inherit;

}

.mini-action {

    margin-top: 22px;

    background: var(--primary);

    color: white;

    border: none;

    padding: 14px 28px;

    border-radius: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s;

}

.mini-action:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

.primary-action {

    margin-top: 30px;

    background: linear-gradient(90deg,
            var(--primary),
            var(--primary-light));

    color: white;

    border: none;

    padding: 18px 34px;

    border-radius: 14px;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 12px 30px rgba(217, 119, 6, .25);

    transition: .25s;

}

.primary-action:hover {

    transform: translateY(-3px);

}

/* =========================================================
   LIST BOXES
========================================================= */

.list-box {

    margin-top: 26px;

    border: 2px dashed #d6dbe7;

    border-radius: 18px;

    background: #fafafa;

    min-height: 110px;

    padding: 24px;

    color: #6b7280;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

/* =========================================================
   JOURNEY FOOTER
========================================================= */

.journey-actions {

    margin-top: 28px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

}

.journey-actions button {

    padding: 15px 28px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    font-weight: 700;

    transition: .25s;

}

#prevStep {

    background: #e5e7eb;

    color: #374151;

}

#prevStep:hover {

    background: #d1d5db;

}

#saveDraft {

    background: #2563eb;

    color: white;

}

#saveDraft:hover {

    background: #1d4ed8;

}

#nextStep {

    background: var(--success);

    color: white;

}

#nextStep:hover {

    background: #15803d;

}

/* =========================================================
   FOOD BUSINESS HIGHLIGHT
========================================================= */

.food-tip {

    margin-top: 22px;

    padding: 18px;

    border-radius: 14px;

    background: #ecfdf5;

    color: #065f46;

    border: 1px solid #bbf7d0;

}

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

.empty-state {

    text-align: center;

    padding: 60px 20px;

    color: #6b7280;

}

.empty-state h4 {

    margin-bottom: 12px;

    color: #111827;

}

/* =========================================================
   SMALL BADGES
========================================================= */

.badge {

    display: inline-block;

    padding: 6px 12px;

    border-radius: 999px;

    background: #fff7ed;

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 18px;

}

/* =========================================================
   SECTION DIVIDER
========================================================= */

.section-divider {

    margin: 40px 0;

    border-top: 1px solid #ececec;

}

/* =========================================================
   BUILD MY FOOD BUSINESS
   PRODUCTS JOURNEY
   PART 3
   RESPONSIVE • POLISH • FINAL UI SUPPORT
========================================================= */

/* =========================================================
   PRODUCT / CATEGORY ITEM CARDS
========================================================= */

.journey-item {

    width: 100%;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 18px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 18px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, .04);

}

.journey-item+.journey-item {

    margin-top: 14px;

}

.journey-item h4 {

    font-size: 17px;

    margin-bottom: 6px;

    color: #111827;

}

.journey-item p {

    margin: 0;

    font-size: 14px;

    line-height: 1.5;

}

.journey-item small {

    display: block;

    margin-top: 6px;

    color: var(--muted);

}

.item-actions {

    display: flex;

    gap: 8px;

    flex-shrink: 0;

}

.item-actions button {

    border: none;

    border-radius: 10px;

    padding: 9px 12px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

}

.item-actions .delete-btn {

    background: #fee2e2;

    color: #991b1b;

}

.item-actions .edit-btn {

    background: #e0f2fe;

    color: #075985;

}

/* =========================================================
   LIVE PREVIEW CARD SUPPORT
========================================================= */

.preview-summary {

    margin-top: 28px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}

.preview-stat {

    background: #fff7ed;

    border: 1px solid #fed7aa;

    border-radius: 16px;

    padding: 22px;

}

.preview-stat strong {

    display: block;

    font-size: 28px;

    color: var(--primary-dark);

    margin-bottom: 6px;

}

.preview-stat span {

    color: #7c2d12;

    font-weight: 600;

}

/* =========================================================
   SOFT APP BACKGROUND DETAIL
========================================================= */

.journey-main {

    position: relative;

    overflow: hidden;

}

.journey-main::before {

    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    border-radius: 50%;

    background: rgba(245, 158, 11, .10);

    top: -120px;

    right: -120px;

    z-index: -1;

}

.journey-main::after {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .07);

    bottom: 40px;

    left: 35%;

    z-index: -1;

}

/* =========================================================
   SCROLLBAR POLISH
========================================================= */

.journey-sidebar::-webkit-scrollbar {

    width: 8px;

}

.journey-sidebar::-webkit-scrollbar-track {

    background: rgba(255, 255, 255, .06);

}

.journey-sidebar::-webkit-scrollbar-thumb {

    background: rgba(255, 255, 255, .22);

    border-radius: 999px;

}

/* =========================================================
   DISABLED BUTTON STATE
========================================================= */

button:disabled {

    opacity: .55;

    cursor: not-allowed;

    transform: none !important;

}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media(max-width:1100px) {

    .products-journey-app {

        grid-template-columns: 250px 1fr;

    }

    .journey-sidebar {

        padding: 24px;

    }

    .journey-main {

        padding: 32px;

    }

    #stepTitle {

        font-size: 28px;

    }

    .progress-wrap {

        width: 250px;

    }

    .preview-summary {

        grid-template-columns: 1fr;

    }

}

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

@media(max-width:820px) {

    .products-journey-app {

        display: block;

    }

    .journey-sidebar {

        position: relative;

        height: auto;

        padding: 24px;

    }

    .journey-brand {

        margin-bottom: 24px;

    }

    .journey-brand img {

        width: 52px;

        height: 52px;

    }

    .journey-brand h1 {

        font-size: 20px;

    }

    .journey-steps {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

    }

    .step-link {

        font-size: 13px;

        padding: 12px;

    }

    .journey-main {

        padding: 24px;

    }

    .journey-topbar {

        flex-direction: column;

        align-items: flex-start;

    }

    .progress-wrap {

        width: 100%;

    }

    .journey-card {

        padding: 26px;

        min-height: auto;

    }

    .step-panel h3 {

        font-size: 24px;

    }

    .journey-actions {

        flex-direction: column;

    }

    .journey-actions button {

        width: 100%;

    }

    .journey-item {

        flex-direction: column;

    }

    .item-actions {

        width: 100%;

    }

    .item-actions button {

        flex: 1;

    }

}

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

@media(max-width:480px) {

    .journey-steps {

        grid-template-columns: 1fr;

    }

    .journey-main {

        padding: 18px;

    }

    .journey-card {

        padding: 22px;

        border-radius: 16px;

    }

    #stepTitle {

        font-size: 24px;

    }

    .step-panel h3 {

        font-size: 22px;

    }

    input,
    textarea,
    select {

        font-size: 14px;

    }

}

/* =========================================================
   BUILDFRAME FOOTER SUPPORT IF ADDED LATER
========================================================= */

.buildframe-footer {

    text-align: center;

    padding: 22px;

    background: #0f172a;

    color: #cbd5e1;

    font-size: 14px;

}

.buildframe-footer a {

    color: #fbbf24;

    text-decoration: none;

    font-weight: 700;

}

/* =========================================================
   PRODUCTS JOURNEY
   FINAL SIDEBAR POLISH OVERRIDES
========================================================= */

.journey-brand-card {
    padding: 18px 18px;
    border-radius: 22px;
}

.journey-brand img {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
}

.journey-brand h1 {
    font-size: 24px;
}

.journey-brand h2 {
    font-size: 21px;
    margin-bottom: 8px;
}

.journey-brand p {
    font-size: 13px;
}

.mission-card {
    padding: 14px 16px;
}

.mission-card h3 {
    font-size: 16px;
    margin: 10px 0 6px;
}

.mission-card p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.journey-steps {
    gap: 8px;
}

.step-link {
    padding: 12px 14px;
    border-radius: 16px;
    grid-template-columns: 40px 1fr;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 12px;
}

.step-link.active {
    border-color: rgba(251, 191, 36, .8);
    box-shadow: 0 14px 34px rgba(217, 119, 6, .25);
}

.step-link.active::before {
    width: 5px;
    top: 10px;
    bottom: 10px;
}

.owl-card {
    padding: 15px 16px;
}