/* Extraído de app/Views/principal/loja.php em refatoração de CSS (NDR Educação). */
.store-page {
        background: #f5f7fb;
        padding: 126px 0 72px;
    }

    .store-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
        align-items: end;
        margin-bottom: 28px;
    }

    .store-kicker {
        color: #177865;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .store-head h1 {
        color: #1e2a3d;
        font-size: 42px;
        line-height: 1.08;
        margin: 8px 0 10px;
    }

    .store-head p {
        color: #607086;
        max-width: 680px;
        margin: 0;
    }

    .store-cart-button {
        position: relative;
        border: 0;
        border-radius: 8px;
        background: #177865;
        color: #fff;
        min-height: 48px;
        padding: 0 18px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .store-cart-count {
        display: inline-grid;
        place-items: center;
        min-width: 24px;
        height: 24px;
        border-radius: 999px;
        background: #ff6f2c;
        color: #fff;
        font-size: 12px;
        font-weight: 900;
    }

    .store-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 24px;
    }

    .store-tools {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        margin-bottom: 18px;
    }

    .store-search {
        position: relative;
    }

    .store-search i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #177865;
        pointer-events: none;
    }

    .store-search-input {
        width: 100%;
        min-height: 52px;
        border: 1px solid #d9e3ee;
        border-radius: 8px;
        background: #fff;
        color: #26364c;
        font-weight: 700;
        padding: 0 18px 0 46px;
        box-shadow: 0 12px 28px rgba(22, 32, 50, .05);
    }

    .store-search-input:focus {
        border-color: #177865;
        box-shadow: 0 0 0 3px rgba(23, 120, 101, .12);
        outline: none;
    }

    .store-compass {
        border: 1px solid #d9e3ee;
        border-radius: 8px;
        background: #fff;
        color: #177865;
        min-height: 52px;
        padding: 0 16px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        white-space: nowrap;
    }

    .store-compass:hover,
    .store-compass:focus {
        background: #177865;
        border-color: #177865;
        color: #fff;
    }

    .store-filter {
        border: 1px solid #d9e3ee;
        border-radius: 999px;
        background: #fff;
        color: #34445a;
        padding: 9px 15px;
        font-weight: 800;
    }

    .store-filter.active {
        background: #177865;
        border-color: #177865;
        color: #fff;
    }

    .store-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .store-course {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        background: #fff;
        border: 1px solid #e2eaf3;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 18px 42px rgba(22, 32, 50, .07);
    }

    .store-course-media {
        height: 178px;
        background: #172134;
        overflow: hidden;
    }

    .store-course-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .store-course-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 20px;
    }

    .store-course-category {
        color: #177865;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .store-course h2 {
        color: #1f2b3f;
        font-size: 22px;
        line-height: 1.2;
        margin: 0 0 10px;
    }

    .store-course p {
        color: #657286;
        line-height: 1.55;
        margin: 0 0 16px;
    }

    .store-course-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }

    .store-course-meta span {
        border-radius: 999px;
        background: #eef4f8;
        color: #46566b;
        font-size: 12px;
        font-weight: 800;
        padding: 6px 10px;
    }

    .store-course-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-top: auto;
    }

    .store-price {
        color: #177865;
        font-size: 24px;
        font-weight: 900;
        white-space: nowrap;
    }

    .store-installments {
        display: block;
        color: #607086;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.25;
        margin-top: 2px;
        white-space: nowrap;
    }

    .store-add {
        border: 0;
        border-radius: 8px;
        background: #ff6f2c;
        color: #fff;
        min-height: 44px;
        padding: 0 14px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .store-add.added {
        background: #177865;
    }

    .store-empty {
        grid-column: 1 / -1;
        background: #fff;
        border: 1px solid #e2eaf3;
        border-radius: 8px;
        padding: 28px;
        color: #607086;
    }

    .store-drawer {
        position: fixed;
        inset: 0;
        z-index: 100000;
        pointer-events: none;
    }

    .store-drawer.open {
        pointer-events: auto;
    }

    .store-drawer-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 24, 38, .52);
        opacity: 0;
        transition: opacity .2s ease;
    }

    .store-drawer.open .store-drawer-backdrop {
        opacity: 1;
    }

    .store-cart-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(440px, 100%);
        height: 100%;
        background: #fff;
        transform: translateX(100%);
        transition: transform .22s ease;
        display: flex;
        flex-direction: column;
        box-shadow: -24px 0 55px rgba(12, 20, 32, .24);
    }

    .store-drawer.open .store-cart-panel {
        transform: translateX(0);
    }

    .store-cart-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px;
        border-bottom: 1px solid #e4ebf4;
    }

    .store-cart-head h2 {
        color: #1f2b3f;
        font-size: 24px;
        margin: 0;
    }

    .store-cart-close {
        border: 0;
        background: #eef4f8;
        color: #223047;
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .store-cart-body {
        flex: 1;
        overflow: auto;
        padding: 20px;
    }

    .store-cart-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid #edf2f7;
    }

    .store-cart-item strong {
        display: block;
        color: #223047;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .store-cart-item span {
        color: #177865;
        font-weight: 900;
    }

    .store-cart-remove {
        border: 0;
        background: #fff3ee;
        color: #d9531e;
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .store-cart-empty {
        color: #657286;
        background: #f6f9fc;
        border: 1px dashed #cedbe8;
        border-radius: 8px;
        padding: 18px;
    }

    .store-cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin: 18px 0;
        color: #1f2b3f;
        font-weight: 900;
        font-size: 18px;
    }

    .store-cart-total strong {
        color: #177865;
        font-size: 26px;
    }

    .store-checkout-form label {
        color: #33445a;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .store-checkout-form .form-control {
        min-height: 44px;
        border-color: #dce6f0;
        border-radius: 8px;
    }

    .store-checkout-submit {
        border: 0;
        border-radius: 8px;
        background: #177865;
        color: #fff;
        width: 100%;
        min-height: 52px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .store-checkout-submit:disabled {
        opacity: .7;
    }

    .store-alert {
        display: none;
        border-radius: 8px;
        padding: 12px 14px;
        margin-bottom: 14px;
    }

    .store-alert.show {
        display: block;
    }

    @media (max-width: 1199px) {
        .store-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 767px) {
        .store-page {
            padding-top: 108px;
        }

        .store-head {
            grid-template-columns: 1fr;
            align-items: start;
        }

        .store-tools {
            grid-template-columns: 1fr;
        }

        .store-head h1 {
            font-size: 34px;
        }

        .store-grid {
            grid-template-columns: 1fr;
        }

        .store-course-footer {
            align-items: stretch;
            flex-direction: column;
        }

        .store-add {
            justify-content: center;
        }
    }
