.ens-shell{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:34px;
}

.ens-topbar{
    position:relative;
    z-index:30;
    isolation:isolate;
    overflow:visible;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(183,199,219,.65);
    border-radius:24px;
    padding:20px;
    box-shadow:
        0 10px 30px rgba(16,56,123,.06),
        inset 0 1px 0 rgba(255,255,255,.65);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.ens-topbar-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.ens-page-title{
    margin:0 0 4px 0;
    font-size:30px;
    line-height:1.02;
    letter-spacing:-0.03em;
    color:#113173;
}

.ens-page-subtitle{
    margin:0;
    font-size:14px;
    color:#6b7b92;
}

.ens-topbar-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:999px;
    background:#eef4ff;
    color:#1f468f;
    font-size:14px;
    font-weight:800;
    border:1px solid #d8e5fb;
    white-space:nowrap;
}

.ens-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.ens-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    color:#173c83;
    background:#edf4ff;
    border:1px solid #d7e5fb;
    box-shadow:0 3px 10px rgba(16,56,123,.04);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.ens-tab:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(16,56,123,.10);
}

.ens-tab.is-active{
    background:#163d83;
    color:#fff;
    border-color:#163d83;
    box-shadow:0 10px 22px rgba(22,61,131,.22);
}

.ens-filters{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
    align-items:end;
}

.ens-filter{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-width:0;
    position:relative;
    z-index:1;
}

.ens-filter--color{
    z-index:50;
}

.ens-filter--actions{
    z-index:5;
}

.ens-filter label{
    font-size:13px;
    font-weight:700;
    color:#51637b;
}

.ens-filter select{
    width:100%;
    height:44px;
    border:1px solid #d6e1ef;
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:#16304f;
    font-size:14px;
    font-weight:700;
    outline:none;
    box-shadow:inset 0 1px 2px rgba(16,56,123,.03);
}

.ens-filter-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.ens-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 16px;
    border-radius:14px;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    border:1px solid #d9e3ef;
    background:#fff;
    color:#16304f;
    transition:transform .18s ease, box-shadow .18s ease;
    cursor:pointer;
}

.ens-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(16,56,123,.08);
}

.ens-btn-primary{
    background:#163d83;
    color:#fff;
    border-color:#163d83;
}

.ens-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #e4ebf5;
    font-size:14px;
    color:#61718a;
}

/* ===== CUSTOM COLOR SELECT ===== */

.ens-color-select{
    position:relative;
    z-index:20;
}

.ens-color-trigger{
    width:100%;
    height:44px;
    border:1px solid #d6e1ef;
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:#16304f;
    font-size:14px;
    font-weight:700;
    outline:none;
    box-shadow:inset 0 1px 2px rgba(16,56,123,.03);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    cursor:pointer;
    transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

.ens-color-trigger:hover{
    box-shadow:0 8px 18px rgba(16,56,123,.08);
    transform:translateY(-1px);
}

.ens-color-trigger-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.ens-color-trigger-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ens-color-swatch{
    width:16px;
    height:16px;
    border-radius:50%;
    border:1px solid rgba(0,0,0,.10);
    box-shadow:inset 0 1px 1px rgba(255,255,255,.25);
    flex:0 0 16px;
}

.ens-color-trigger-arrow{
    font-size:12px;
    color:#6a7c95;
    flex:0 0 auto;
}

.ens-color-dropdown{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:200;
    background:#fff;
    border:1px solid #d9e4f0;
    border-radius:16px;
    box-shadow:0 18px 40px rgba(16,56,123,.12);
    padding:8px;
    max-height:320px;
    overflow:auto;
    display:none;
}

.ens-color-dropdown.is-open{
    display:block;
}

.ens-color-option{
    width:100%;
    border:none;
    background:transparent;
    border-radius:12px;
    min-height:40px;
    padding:0 10px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    color:#16304f;
    cursor:pointer;
    text-align:left;
}

.ens-color-option:hover{
    background:#f5f8fd;
}

.ens-color-option.is-selected{
    background:#edf4ff;
    color:#173c83;
}

.ens-color-option-label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
}

.ens-color-check{
    color:#173c83;
    font-size:13px;
    font-weight:900;
}

/* ===== GRID + CARDS ===== */

.ens-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:16px;
}

.ens-card{
    overflow:hidden;
    background:#ffffff;
    border:1px solid #dce6f1;
    border-radius:22px;
    box-shadow:
        0 8px 24px rgba(16,56,123,.06),
        0 1px 2px rgba(16,56,123,.04);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ens-card:hover{
    transform:translateY(-3px);
    border-color:#cdd9ea;
    box-shadow:
        0 18px 34px rgba(16,56,123,.11),
        0 4px 12px rgba(16,56,123,.07);
}

.ens-card-head{
    min-height:82px;
    padding:15px 18px;
    display:flex;
    align-items:center;
}

.ens-card-head-text{
    color:#fff;
    font-weight:900;
    line-height:1.1;
    letter-spacing:-0.02em;
    text-shadow:
        0 2px 4px rgba(0,0,0,.48),
        0 0 1px rgba(0,0,0,.55);
}

.ens-card-head-small{
    display:block;
    font-size:14px;
    opacity:.96;
    margin-bottom:2px;
}

.ens-card-head-main{
    display:block;
    font-size:20px;
}

.ens-card-body{
    padding:18px;
}

.ens-card h3{
    margin:0 0 14px 0;
    font-size:19px;
    line-height:1.08;
    color:#113173;
    letter-spacing:-0.03em;
}

.ens-line-product{
    margin:12px 0;
}

.ens-line-top{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:12px;
    align-items:center;
}

.ens-line-left{
    min-width:0;
    display:flex;
    align-items:center;
    gap:0;
    overflow:hidden;
    white-space:nowrap;
}

.ens-line-kind{
    flex:0 0 auto;
    font-size:15px;
    font-weight:900;
    color:#153176;
    white-space:nowrap;
    margin-right:8px;
}

.ens-line-dim{
    flex:0 0 auto;
    font-size:15px;
    font-weight:900;
    color:#153176;
    white-space:nowrap;
}

.ens-line-right{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:0;
    padding:4px 6px;
    border-radius:999px;
    background:#eef3fb;
    min-width:max-content;
}

.ens-mini-value{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    font-size:14px;
    font-weight:800;
    color:#264992;
    white-space:nowrap;
    line-height:1;
}

.ens-mini-sep{
    width:1px;
    height:18px;
    margin:0 2px;
    background:rgba(38,73,146,.18);
    border-radius:1px;
}

.ens-ref-block{
    margin-top:10px;
}

.ens-note{
    margin-top:6px;
    font-size:10px;
    color:#76859a;
    word-break:break-word;
}

.ens-price-total{
    margin-top:14px;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    background:#163679;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
    font-weight:900;
    letter-spacing:-0.02em;
}

.ens-stock-total{
    margin-top:14px;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 14px;
    border-radius:999px;
    background:#2f8f42;
    color:#fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        0 10px 20px rgba(47,143,66,.14);
}

.ens-stock-total-label{
    font-size:14px;
    font-weight:800;
    color:#fff;
}

.ens-stock-total-num{
    font-size:20px;
    font-weight:900;
    margin-left:auto;
    color:#fff;
}

.ens-empty{
    padding:22px;
    background:#fff;
    border:1px solid #dde6f0;
    border-radius:22px;
    color:#66778f;
    box-shadow:0 10px 30px rgba(16,56,123,.05);
}

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

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

@media (max-width: 760px){
    .ens-topbar{
        padding:16px;
        border-radius:20px;
        overflow:visible;
    }

    .ens-page-title{
        font-size:24px;
    }

    .ens-filters{
        grid-template-columns:1fr;
        position:relative;
        z-index:1;
    }

    .ens-filter{
        z-index:auto;
    }

    .ens-filter--color{
        z-index:50;
    }

    .ens-filter--actions{
        position:relative;
        z-index:5;
    }

    .ens-grid{
        grid-template-columns

}

.ens-shell{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:34px;
}

.ens-topbar{
    position:relative;
    z-index:30;
    isolation:isolate;
    overflow:visible;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(183,199,219,.65);
    border-radius:24px;
    padding:20px;
    box-shadow:
        0 10px 30px rgba(16,56,123,.06),
        inset 0 1px 0 rgba(255,255,255,.65);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.ens-topbar-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.ens-page-title{
    margin:0 0 4px 0;
    font-size:30px;
    line-height:1.02;
    letter-spacing:-0.03em;
    color:#113173;
}

.ens-page-subtitle{
    margin:0;
    font-size:14px;
    color:#6b7b92;
}

.ens-topbar-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:999px;
    background:#eef4ff;
    color:#1f468f;
    font-size:14px;
    font-weight:800;
    border:1px solid #d8e5fb;
    white-space:nowrap;
}

.ens-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.ens-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    color:#173c83;
    background:#edf4ff;
    border:1px solid #d7e5fb;
    box-shadow:0 3px 10px rgba(16,56,123,.04);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.ens-tab:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(16,56,123,.10);
}

.ens-tab.is-active{
    background:#163d83;
    color:#fff;
    border-color:#163d83;
    box-shadow:0 10px 22px rgba(22,61,131,.22);
}

.ens-filters{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
    align-items:end;
}

.ens-filter{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-width:0;
    position:relative;
    z-index:1;
}

.ens-filter--color{
    z-index:50;
}

.ens-filter--actions{
    z-index:5;
}

.ens-filter label{
    font-size:13px;
    font-weight:700;
    color:#51637b;
}

.ens-filter select{
    width:100%;
    height:44px;
    border:1px solid #d6e1ef;
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:#16304f;
    font-size:14px;
    font-weight:700;
    outline:none;
    box-shadow:inset 0 1px 2px rgba(16,56,123,.03);
}

.ens-filter-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.ens-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 16px;
    border-radius:14px;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    border:1px solid #d9e3ef;
    background:#fff;
    color:#16304f;
    transition:transform .18s ease, box-shadow .18s ease;
    cursor:pointer;
}

.ens-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(16,56,123,.08);
}

.ens-btn-primary{
    background:#163d83;
    color:#fff;
    border-color:#163d83;
}

.ens-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #e4ebf5;
    font-size:14px;
    color:#61718a;
}

/* ===== CUSTOM COLOR SELECT ===== */

.ens-color-select{
    position:relative;
    z-index:20;
}

.ens-color-trigger{
    width:100%;
    height:44px;
    border:1px solid #d6e1ef;
    border-radius:14px;
    padding:0 14px;
    background:#fff;
    color:#16304f;
    font-size:14px;
    font-weight:700;
    outline:none;
    box-shadow:inset 0 1px 2px rgba(16,56,123,.03);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    cursor:pointer;
    transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

.ens-color-trigger:hover{
    box-shadow:0 8px 18px rgba(16,56,123,.08);
    transform:translateY(-1px);
}

.ens-color-trigger-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.ens-color-trigger-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ens-color-swatch{
    width:16px;
    height:16px;
    border-radius:50%;
    border:1px solid rgba(0,0,0,.10);
    box-shadow:inset 0 1px 1px rgba(255,255,255,.25);
    flex:0 0 16px;
}

.ens-color-trigger-arrow{
    font-size:12px;
    color:#6a7c95;
    flex:0 0 auto;
}

.ens-color-dropdown{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:200;
    background:#fff;
    border:1px solid #d9e4f0;
    border-radius:16px;
    box-shadow:0 18px 40px rgba(16,56,123,.12);
    padding:8px;
    max-height:320px;
    overflow:auto;
    display:none;
}

.ens-color-dropdown.is-open{
    display:block;
}

.ens-color-option{
    width:100%;
    border:none;
    background:transparent;
    border-radius:12px;
    min-height:40px;
    padding:0 10px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    color:#16304f;
    cursor:pointer;
    text-align:left;
}

.ens-color-option:hover{
    background:#f5f8fd;
}

.ens-color-option.is-selected{
    background:#edf4ff;
    color:#173c83;
}

.ens-color-option-label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
}

.ens-color-check{
    color:#173c83;
    font-size:13px;
    font-weight:900;
}

/* ===== GRID + CARDS ===== */

.ens-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:16px;
}

.ens-card{
    overflow:hidden;
    background:#ffffff;
    border:1px solid #dce6f1;
    border-radius:22px;
    box-shadow:
        0 8px 24px rgba(16,56,123,.06),
        0 1px 2px rgba(16,56,123,.04);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ens-card:hover{
    transform:translateY(-3px);
    border-color:#cdd9ea;
    box-shadow:
        0 18px 34px rgba(16,56,123,.11),
        0 4px 12px rgba(16,56,123,.07);
}

.ens-card-head{
    min-height:82px;
    padding:15px 18px;
    display:flex;
    align-items:center;
}

.ens-card-head-text{
    color:#fff;
    font-weight:900;
    line-height:1.1;
    letter-spacing:-0.02em;
    text-shadow:
        0 2px 4px rgba(0,0,0,.48),
        0 0 1px rgba(0,0,0,.55);
}

.ens-card-head-small{
    display:block;
    font-size:14px;
    opacity:.96;
    margin-bottom:2px;
}

.ens-card-head-main{
    display:block;
    font-size:20px;
}

.ens-card-body{
    padding:18px;
}

.ens-card h3{
    margin:0 0 14px 0;
    font-size:19px;
    line-height:1.08;
    color:#113173;
    letter-spacing:-0.03em;
}

.ens-line-product{
    margin:12px 0;
}

.ens-line-top{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:12px;
    align-items:center;
}

.ens-line-left{
    min-width:0;
    display:flex;
    align-items:center;
    gap:0;
    overflow:hidden;
    white-space:nowrap;
}

.ens-line-kind{
    flex:0 0 auto;
    font-size:15px;
    font-weight:900;
    color:#153176;
    white-space:nowrap;
    margin-right:8px;
}

.ens-line-dim{
    flex:0 0 auto;
    font-size:15px;
    font-weight:900;
    color:#153176;
    white-space:nowrap;
}

.ens-line-right{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:0;
    padding:4px 6px;
    border-radius:999px;
    background:#eef3fb;
    min-width:max-content;
}

.ens-mini-value{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    font-size:14px;
    font-weight:800;
    color:#264992;
    white-space:nowrap;
    line-height:1;
}

.ens-mini-sep{
    width:1px;
    height:18px;
    margin:0 2px;
    background:rgba(38,73,146,.18);
    border-radius:1px;
}

.ens-ref-block{
    margin-top:10px;
}

.ens-note{
    margin-top:6px;
    font-size:10px;
    color:#76859a;
    word-break:break-word;
}

.ens-price-total{
    margin-top:14px;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    background:#163679;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
    font-weight:900;
    letter-spacing:-0.02em;
}

.ens-stock-total{
    margin-top:14px;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 14px;
    border-radius:999px;
    background:#2f8f42;
    color:#fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        0 10px 20px rgba(47,143,66,.14);
}

.ens-stock-total-label{
    font-size:14px;
    font-weight:800;
    color:#fff;
}

.ens-stock-total-num{
    font-size:20px;
    font-weight:900;
    margin-left:auto;
    color:#fff;
}

.ens-empty{
    padding:22px;
    background:#fff;
    border:1px solid #dde6f0;
    border-radius:22px;
    color:#66778f;
    box-shadow:0 10px 30px rgba(16,56,123,.05);
}

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

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

@media (max-width: 760px){
    .ens-topbar{
        padding:16px;
        border-radius:20px;
        overflow:visible;
    }

    .ens-page-title{
        font-size:24px;
    }

    .ens-topbar-head{
        gap:12px;
        margin-bottom:14px;
    }

    .ens-topbar-count{
        min-height:38px;
        padding:0 14px;
        font-size:13px;
    }

    .ens-tabs{
        margin-bottom:14px;
    }

    .ens-tab{
        min-height:40px;
        padding:0 16px;
        font-size:13px;
    }

    .ens-filters{
        grid-template-columns:1fr;
        position:relative;
        z-index:1;
    }

    .ens-filter{
        z-index:auto;
    }

    .ens-filter--color{
        z-index:50;
    }

    .ens-filter--actions{
        position:relative;
        z-index:5;
    }

    .ens-color-select{
        z-index:20;
    }

    .ens-color-dropdown{
        z-index:200;
        max-height:260px;
    }

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

    .ens-card-head{
        min-height:74px;
        padding:14px 16px;
    }

    .ens-card-head-small{
        font-size:13px;
    }

    .ens-card-head-main{
        font-size:18px;
    }

    .ens-card-body{
        padding:16px;
    }

    .ens-card h3{
        font-size:18px;
    }

    .ens-line-top{
        grid-template-columns:1fr;
        gap:8px;
    }

    .ens-line-right{
        justify-self:start;
    }

    .ens-line-kind,
    .ens-line-dim{
        font-size:13px;
    }

    .ens-mini-value{
        min-height:32px;
        font-size:12px;
        padding:0 10px;
    }

    .ens-price-total{
        font-size:16px;
    }

    .ens-stock-total-label{
        font-size:13px;
    }

    .ens-stock-total-num{
        font-size:19px;
    }

    .ens-filter-actions{
        flex-direction:row;
        align-items:center;
        flex-wrap:wrap;
    }

    .ens-btn{
        min-height:42px;
    }
}



