.store-menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.store-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1002;
    width: 292px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid rgba(24, 128, 192, .14);
    box-shadow: 18px 0 42px rgba(35, 40, 65, .08);
    overflow-y: auto;
}

.store-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(35, 40, 65, .08);
}

.store-sidebar-brand img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.store-sidebar-brand strong,
.store-sidebar-brand span {
    display: block;
}

.store-sidebar-brand strong {
    color: #232840;
    font-size: 18px;
    line-height: 24px;
}

.store-sidebar-brand span {
    color: #637083;
    font-size: 13px;
    line-height: 18px;
}

.store-sidebar-nav {
    display: grid;
    gap: 7px;
    margin-top: 22px;
}

.store-sidebar-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #232840;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.store-sidebar-link i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #1880C0;
    background: rgba(24, 128, 192, .1);
}

.store-sidebar-link:hover,
.store-sidebar-link:focus {
    color: #1880C0;
    background: #f4f8fb;
    transform: translateX(2px);
}

.store-sidebar-account {
    margin-top: auto;
    padding: 18px;
    border-radius: 8px;
    background: #f4f8fb;
}

.store-sidebar-account span {
    display: block;
    margin-bottom: 12px;
    color: #232840;
    font-weight: 800;
}

.store-sidebar-auth {
    display: flex;
    gap: 12px;
}

.store-sidebar-auth a {
    color: #1880C0;
    font-weight: 800;
}

.store-main,
.store-footer {
    margin-left: 292px;
}

.store-mobile-header,
.store-menu-backdrop,
.store-bottom-nav {
    display: none;
}

.store-main .ipad-top-space-margin {
    margin-top: 0 !important;
}

.store-hero {
    background-image: url('/images/demo-business-slider-01.jpg');
    background-size: cover;
    background-position: center;
}

.store-product-hero {
    background-image: url('/images/demo-business-slider-01.jpg');
}

.store-section {
    background: #f4f8fb;
}

.store-card,
.store-panel,
.store-table-panel {
    background: #fff;
    border: 1px solid rgba(24, 128, 192, .14);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(35, 40, 65, .08);
}

.store-card {
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.store-panel,
.store-table-panel {
    padding: 30px;
}

.store-price {
    color: #1880C0;
    font-size: 30px;
    line-height: 38px;
    font-weight: 800;
}

.store-badge,
.store-status {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 100px;
    padding: 4px 13px;
    background: rgba(24, 128, 192, .1);
    color: #1880C0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-status.pending_payment,
.store-status.not_received {
    background: #fff5df;
    color: #9a6500;
}

.store-status.payment_confirmed,
.store-status.ready,
.store-status.completed {
    background: #e9f8ef;
    color: #197642;
}

.store-status.cancelled,
.store-status.refunded {
    background: #fff0f0;
    color: #a12929;
}

.store-field {
    margin-bottom: 17px;
}

.store-field label {
    display: block;
    margin-bottom: 7px;
    color: #232840;
    font-weight: 700;
    font-size: 14px;
}

.store-field input,
.store-field select,
.store-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(35, 40, 65, .18);
    border-radius: 6px;
    padding: 10px 13px;
    background: #fff;
    color: #232840;
    font-size: 15px;
}

.store-field textarea {
    min-height: 120px;
}

.store-field input:focus,
.store-field select:focus,
.store-field textarea:focus {
    border-color: #1880C0;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(24, 128, 192, .12);
}

.store-flash {
    position: relative;
    z-index: 5;
    margin: 24px auto -10px;
    max-width: 1120px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #e9f8ef;
    color: #197642;
    font-weight: 700;
}

.store-flash-warning {
    background: #fff5df;
    color: #9a6500;
}

.store-flash-error {
    background: #fff0f0;
    color: #a12929;
}

.store-table-wrap {
    overflow-x: auto;
}

.store-table {
    width: 100%;
    min-width: 780px;
    margin: 0;
    border-collapse: collapse;
}

.store-table th,
.store-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(35, 40, 65, .09);
    vertical-align: top;
}

.store-table th {
    background: #1880C0;
    color: #fff;
    font-size: 13px;
}

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-product-wizard > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.store-wizard-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 10px;
    background: #eef6fb;
}

.store-wizard-tabs label {
    min-height: 58px;
    margin: 0;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    color: #465469;
    font-size: 12px;
    line-height: 15px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.store-wizard-tabs label span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #1880C0;
    font-size: 12px;
    box-shadow: 0 6px 16px rgba(35, 40, 65, .08);
}

.store-wizard-step {
    display: none;
}

#product-step-1:checked ~ .store-wizard-step-1,
#product-step-2:checked ~ .store-wizard-step-2,
#product-step-3:checked ~ .store-wizard-step-3,
#product-step-4:checked ~ .store-wizard-step-4 {
    display: block;
}

#product-step-1:checked ~ .store-wizard-tabs label[for="product-step-1"],
#product-step-2:checked ~ .store-wizard-tabs label[for="product-step-2"],
#product-step-3:checked ~ .store-wizard-tabs label[for="product-step-3"],
#product-step-4:checked ~ .store-wizard-tabs label[for="product-step-4"] {
    color: #fff;
    background: #1880C0;
    box-shadow: 0 12px 28px rgba(24, 128, 192, .24);
}

#product-step-1:checked ~ .store-wizard-tabs label[for="product-step-1"] span,
#product-step-2:checked ~ .store-wizard-tabs label[for="product-step-2"] span,
#product-step-3:checked ~ .store-wizard-tabs label[for="product-step-3"] span,
#product-step-4:checked ~ .store-wizard-tabs label[for="product-step-4"] span {
    color: #1880C0;
}

.store-wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.store-wizard-actions label.btn {
    cursor: pointer;
}

.store-question-editor,
.store-order-questions,
.store-answer-list {
    margin-bottom: 22px;
}

.store-question-row {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(24, 128, 192, .14);
    border-radius: 8px;
    background: #f8fbfd;
}

.store-question-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.store-required-toggle {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #232840;
    font-weight: 700;
}

.store-answer-list p {
    margin-bottom: 12px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #f4f8fb;
}

.store-security-secret {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid rgba(24, 128, 192, .18);
    border-radius: 8px;
    background: #f4f8fb;
    color: #232840;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 18px;
    line-height: 26px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 92px;
    }

    .store-mobile-header {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1001;
        height: 68px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, .95);
        border-bottom: 1px solid rgba(24, 128, 192, .14);
        box-shadow: 0 12px 32px rgba(35, 40, 65, .08);
        backdrop-filter: blur(16px);
    }

    .store-mobile-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #232840;
        font-weight: 800;
        text-decoration: none;
    }

    .store-mobile-brand img {
        width: 42px;
        height: 42px;
        border-radius: 9px;
        object-fit: cover;
    }

    .store-menu-button {
        width: 44px;
        height: 44px;
        margin: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(24, 128, 192, .18);
        border-radius: 10px;
        color: #1880C0;
        background: #fff;
        box-shadow: 0 10px 24px rgba(35, 40, 65, .08);
        font-size: 25px;
        cursor: pointer;
    }

    .store-sidebar {
        width: min(86vw, 320px);
        transform: translateX(-104%);
        transition: transform .24s ease;
    }

    .store-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(15, 27, 45, .46);
        opacity: 0;
        pointer-events: none;
        transition: opacity .24s ease;
    }

    .store-menu-toggle:checked ~ .store-sidebar {
        transform: translateX(0);
    }

    .store-menu-toggle:checked ~ .store-menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .store-main,
    .store-footer {
        margin-left: 0;
    }

    .store-main {
        padding-top: 68px;
    }

    .store-hero {
        margin-top: 0 !important;
    }

    .store-bottom-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 1001;
        min-height: 70px;
        padding: 8px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 20px;
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 18px 44px rgba(35, 40, 65, .22);
        backdrop-filter: blur(18px);
    }

    .store-bottom-link {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 16px;
        color: #465469;
        font-size: 11px;
        line-height: 15px;
        font-weight: 800;
        text-decoration: none;
    }

    .store-bottom-link i {
        font-size: 21px;
        line-height: 1;
    }

    .store-bottom-link-primary {
        color: #fff;
        background: #1880C0;
        box-shadow: 0 12px 28px rgba(24, 128, 192, .32);
    }

    .store-panel,
    .store-table-panel,
    .store-card {
        padding: 22px;
    }

    .store-wizard-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-flash {
        margin: 16px 16px 0;
    }
}
