.variation-box{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:#f9fafb;margin-bottom:12px}
        .variation-grid{display:grid;grid-template-columns:1.5fr .8fr .8fr .8fr auto;gap:12px;align-items:end}
        .deal-grid{display:grid;grid-template-columns:1.7fr 1fr auto;gap:12px;align-items:end}
        .variation-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
        .variation-title{font-size:14px;font-weight:700;color:#374151}
        .mini-note{font-size:12px;color:#6b7280;margin-top:6px}
        .preview-variants{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}
        .preview-pill{background:#eef2ff;color:#1f2937;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:600}
        .block-title{margin:16px 0 10px;font-size:15px;font-weight:800}
        .fold-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
        .fold-head{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer}
        .fold-body{display:none;padding-top:14px}
        .fold-card.open .fold-body{display:block}
        .admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
        .item-list{display:flex;flex-direction:column;gap:14px}
        .item-card{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:#fff}
        .item-main{display:flex;gap:12px;align-items:flex-start;flex:1}
        .item-image-stack{width:74px;min-width:74px;display:flex;flex-direction:column;align-items:stretch;gap:6px;position:relative}
        .item-image{width:74px;height:74px;border-radius:16px;object-fit:cover;background:#f3f4f6;border:1px solid #e5e7eb}
        .empty-image-plus{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;border:0;border-radius:999px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-size:28px;line-height:1;font-weight:1000;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 22px rgba(22,163,74,.35);cursor:pointer;z-index:3}
        .empty-image-plus:hover{transform:translate(-50%,-50%) scale(1.08)}
        .quick-match-modal-card{max-width:980px;border-radius:24px;overflow:hidden}
        .quick-match-search-row{display:flex;gap:10px;align-items:end}
        .quick-match-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
        .bulk-match-card{border:1px solid #e5e7eb;border-radius:16px;padding:9px;background:#fff;cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.06);transition:.15s ease}
        .bulk-match-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.12);border-color:#2563eb}
        .bulk-match-card img{width:100%;height:112px;object-fit:cover;border-radius:12px;background:#f3f4f6}
        .bulk-match-name{font-size:12px;font-weight:800;margin-top:8px;word-break:break-word;color:#111827}
        .bulk-match-score{font-size:11px;color:#2563eb;font-weight:900;margin-top:4px}
        .item-info-side{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.item-side-actions{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:8px;
}

.item-side-actions .image-under-btn{
    width:auto;
    min-width:92px;
}
        .image-under-btn{width:100%;border:1px solid #d1d5db;background:#fff;border-radius:10px;padding:7px 8px;font-size:11px;font-weight:700;cursor:pointer;text-align:center;line-height:1.2}
        .image-under-btn:hover{background:#f9fafb}
        .admin-image-status{display:inline-flex;align-items:center;min-height:28px;font-size:11px;font-weight:900;color:#2563eb;padding:0 3px}
        .admin-image-status.ok{color:#16a34a}
        .admin-image-status.err{color:#dc2626}
        .item-name{margin:0 0 5px;font-size:18px}
        .item-desc{margin:0;color:#6b7280;font-size:14px}
        .single-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;background:#f9fafb;border:1px solid #e5e7eb;padding:10px 12px;border-radius:14px}
        .variant-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
        .variant-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f9fafb;border:1px solid #e5e7eb;padding:10px 12px;border-radius:14px}
        .admin-edit-mini{display:inline-flex;gap:8px;flex-wrap:wrap;margin-top:8px}
        .admin-mini-btn{border:1px solid #d1d5db;background:#fff;border-radius:10px;padding:6px 10px;font-size:12px;font-weight:700;cursor:pointer}
        .admin-mini-btn.soft{padding:5px 8px;font-size:11px;border-radius:9px}
        .category-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa;margin-bottom:10px}
        .modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;z-index:160;padding:18px}
        .modal-backdrop.open{display:flex}
        .modal-card{background:#fff;border-radius:22px;padding:18px;width:100%;max-width:860px;max-height:90vh;overflow:auto}
        .modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
        .split-top{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px}
        .search-wrap{margin-bottom:16px}
        .search-input,.filter-select,.input{width:100%;padding:12px 14px;border:1px solid #d1d5db;border-radius:14px;font:inherit}
        .csv-note{font-size:12px;line-height:1.55;color:#6b7280;background:#f9fafb;border:1px dashed #d1d5db;border-radius:14px;padding:12px}
        .header-simple{padding:16px 0}
        .header-simple .bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
        .header-title{font-size:28px;font-weight:800;line-height:1}
        .header-actions{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}
        .header-actions .ghost-btn,.header-actions .danger-btn{white-space:nowrap}
        .item-head-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
        .item-body{display:none}
        .item-card.open .item-body{display:block}
        .caret{font-size:20px;font-weight:800;line-height:1;color:#111827}
        .status-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
        .status-chip.on{background:#dcfce7;color:#166534}
        .status-chip.off{background:#fee2e2;color:#991b1b}
        .hidden-file-input{display:none}
        .quick-upload-btn{position:relative;overflow:hidden}
        .bulk-match-card{border:1px solid #e5e7eb;border-radius:16px;padding:10px;background:#fff;cursor:pointer}
        .bulk-match-card img{width:100%;height:110px;object-fit:cover;border-radius:12px;background:#f3f4f6}
        .bulk-match-name{font-size:12px;font-weight:700;margin-top:8px;word-break:break-word}
        .bulk-match-score{font-size:11px;color:#6b7280;margin-top:4px}
        .helper{padding:16px;border:1px dashed #d1d5db;border-radius:14px;background:#fafafa;color:#6b7280}
        .please-wait-overlay{position:fixed;inset:0;background:rgba(15,23,42,.72);z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}
        .please-wait-overlay.open{display:flex}
        .please-wait-card{width:min(420px,92vw);background:#fff;border-radius:26px;padding:24px;text-align:center;box-shadow:0 30px 90px rgba(0,0,0,.35)}
        .please-wait-spinner{width:54px;height:54px;border:6px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;margin:0 auto 14px;animation:adminSpin .8s linear infinite}
        .please-wait-title{font-size:24px;font-weight:1000;color:#111827;margin-bottom:6px}
        .please-wait-text{font-size:14px;color:#6b7280;font-weight:700;line-height:1.4}
        @keyframes adminSpin{to{transform:rotate(360deg)}}
        .availability-select-box{margin-top:10px;max-width:220px}
        .availability-select-box .label{margin-bottom:6px;display:block}
        .availability-inline-select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:12px;font:inherit;background:#fff}

        .admin-top-filter{
            position:sticky;
            top:0;
            z-index:40;
            background:#fff;
            padding:10px 0 12px;
            margin-bottom:14px;
            border-bottom:1px solid #e5e7eb;
        }
        .admin-top-grid{
            display:grid;
            grid-template-columns:1.15fr .85fr 1fr;
            gap:12px;
            align-items:center;
        }

        .category-dropdown{position:relative}
        .category-trigger{
            width:100%;
            border:0;
            border-radius:18px;
            padding:14px 16px;
            font:inherit;
            font-weight:800;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:10px;
            cursor:pointer;
            color:#fff;
            background:linear-gradient(135deg,#0f172a 0%,#2563eb 55%,#7c3aed 100%);
            box-shadow:0 12px 30px rgba(37,99,235,.25);
        }
        .category-menu{
            position:absolute;
            left:0;
            right:0;
            top:calc(100% + 8px);
            background:#fff;
            border:1px solid #e5e7eb;
            border-radius:18px;
            box-shadow:0 14px 30px rgba(0,0,0,.10);
            padding:8px;
            display:none;
            max-height:320px;
            overflow:auto;
        }
        .category-menu.open{display:block}
        .category-option{
            width:100%;
            text-align:left;
            border:0;
            background:#fff;
            border-radius:12px;
            padding:12px 12px;
            font:inherit;
            font-weight:700;
            cursor:pointer;
        }
        .category-option:hover,.category-option.active{
            background:linear-gradient(135deg,#111827 0%,#2563eb 100%);
            color:#fff;
        }

        .items-panel-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
        .empty-box{padding:24px;text-align:center;color:#6b7280;background:#fafafa;border:1px dashed #d1d5db;border-radius:18px}


        .admin-action-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
        .admin-action-tile{border:0;border-radius:22px;padding:18px 16px;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 14px 34px rgba(15,23,42,.08);font-weight:1000;color:#111827;cursor:pointer;text-align:left;border:1px solid #e5e7eb;min-height:76px}
        .admin-action-tile span{display:flex;width:38px;height:38px;border-radius:14px;align-items:center;justify-content:center;margin-bottom:9px;color:#fff;background:linear-gradient(135deg,#111827,#2563eb,#7c3aed);font-size:20px}
        .floating-modal-card{max-width:980px;border-radius:28px;padding:0;overflow:hidden;box-shadow:0 28px 80px rgba(15,23,42,.32)}
        .floating-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;color:#fff;background:linear-gradient(135deg,#111827,#2563eb,#7c3aed)}
        .floating-modal-head h3{margin:0;font-size:22px}.floating-modal-body{padding:20px;background:linear-gradient(180deg,#fff,#f8fbff)}
        .plus-add-btn{width:46px;height:46px;border:0;border-radius:17px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-size:28px;line-height:1;font-weight:1000;box-shadow:0 14px 30px rgba(34,197,94,.25);cursor:pointer}
        .items-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
        .stock-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:1000;margin-top:8px}
        .category-manage-list{display:grid;gap:9px;margin-top:14px;max-height:430px;overflow:auto;padding-right:4px}
        .category-manage-row{display:grid;grid-template-columns:auto 1fr 90px auto;gap:9px;align-items:center;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:10px;box-shadow:0 8px 18px rgba(15,23,42,.04)}
        .drag-handle{cursor:grab;border:0;background:#f1f5f9;border-radius:12px;width:34px;height:34px;font-weight:1000}.category-position-input{width:90px;text-align:center}
        .category-arrow-buttons{display:flex;gap:6px}.category-arrow-buttons button{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:10px;height:34px;min-width:34px;font-weight:1000;cursor:pointer}
        .saved-category-panel{display:none}.saved-category-panel.open{display:block}
        .sample-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
        .modal-card .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.modal-card .form-row.full{grid-column:1/-1}

@media (max-width:900px){
    .variation-grid,.deal-grid,.split-top,.admin-top-grid,.admin-action-strip,.modal-card .form-grid{grid-template-columns:1fr}
    .header-simple .bar{flex-direction:column;align-items:stretch}
    .header-title{text-align:center;font-size:24px}
    .header-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
    .header-actions a{display:flex;align-items:center;justify-content:center;padding-left:8px;padding-right:8px;font-size:12px}

    .item-main{
        flex-direction:row;
        align-items:flex-start;
        gap:10px;
    }

    .item-image-stack{
        width:74px;
        min-width:74px;
        max-width:74px;
    }

    .item-image{
        width:74px;
        height:74px;
    }

    .item-name{
        font-size:15px;
        line-height:1.2;
        margin:0 0 4px;
    }

    .item-desc{
        font-size:12px;
        line-height:1.35;
    }

    .item-side-actions{
        gap:5px;
        margin-top:6px;
    }

    .item-side-actions .image-under-btn{
        padding:6px 8px;
        font-size:10px;
        min-width:82px;
        border-radius:9px;
    }

    .availability-select-box{
        margin-top:8px;
        max-width:170px;
    }

    .availability-inline-select{
        padding:8px 10px;
        font-size:12px;
        border-radius:10px;
    }

    .status-chip{
        font-size:10px;
        padding:5px 8px;
    }
}
    
/* v149 admin polish fixes */
#addNewItemModal .floating-modal-card{
    max-height:92vh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
}
#addNewItemModal .floating-modal-body{
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    max-height:calc(92vh - 74px)!important;
}
.admin-action-tile[data-modal="csvToolsModal"] span,
.admin-action-tile[data-modal="bulkImagesModal"] span{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    border-radius:11px!important;
    font-size:15px!important;
    margin-bottom:7px!important;
}
.item-side-actions.clean-item-actions{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-top:10px;
}
.item-side-actions.clean-item-actions .image-under-btn{
    min-width:92px;
    width:auto;
}
@media(max-width:700px){
    #addNewItemModal .modal-card{
        max-height:94vh!important;
    }
    #addNewItemModal .floating-modal-body{
        max-height:calc(94vh - 72px)!important;
        padding:14px!important;
    }
}


/* v150 clean saved categories manager */
#categoryManagerModal .floating-modal-card{
    max-width:900px!important;
}
#categoryManagerModal .floating-modal-body{
    padding:18px!important;
}
#categoryManagerModal .saved-category-panel{
    margin-top:16px;
}
#categoryManagerModal .category-manage-list{
    gap:8px!important;
    max-height:470px!important;
    padding-right:6px!important;
}
#categoryManagerModal .category-manage-row{
    grid-template-columns:30px minmax(0,1fr) 58px 52px 34px!important;
    gap:7px!important;
    align-items:center!important;
    border-radius:16px!important;
    padding:8px!important;
    background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
    border:1px solid #e2e8f0!important;
    box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
}
#categoryManagerModal .drag-handle{
    width:28px!important;
    height:36px!important;
    border-radius:11px!important;
    font-size:15px!important;
    color:#64748b!important;
    background:#f1f5f9!important;
}
#categoryManagerModal .category-position-form > input.input:not(.category-position-input){
    min-width:0!important;
    width:100%!important;
    height:42px!important;
    padding:0 12px!important;
    font-weight:900!important;
    overflow:hidden;
    text-overflow:ellipsis;
}
#categoryManagerModal .category-position-input{
    width:58px!important;
    min-width:58px!important;
    height:42px!important;
    padding:0 4px!important;
    text-align:center!important;
    font-weight:1000!important;
}
#categoryManagerModal .category-position-form .admin-mini-btn.soft{
    height:42px!important;
    min-width:52px!important;
    padding:0 8px!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#111827,#2563eb)!important;
    color:#fff!important;
    border:0!important;
    font-size:11px!important;
}
#categoryManagerModal .category-arrow-buttons{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    align-items:stretch!important;
    justify-content:center!important;
}
#categoryManagerModal .category-arrow-buttons form{
    margin:0!important;
    display:block!important;
}
#categoryManagerModal .category-arrow-buttons button{
    width:30px!important;
    min-width:30px!important;
    height:19px!important;
    border-radius:8px!important;
    padding:0!important;
    font-size:10px!important;
    line-height:1!important;
    box-shadow:none!important;
}
@media(max-width:700px){
    #categoryManagerModal .category-manage-row{
        grid-template-columns:28px minmax(0,1fr) 54px 32px!important;
        grid-template-areas:
            "drag name pos arrows"
            "drag save save arrows";
        gap:7px!important;
    }
    #categoryManagerModal .drag-handle{grid-area:drag;height:100%!important}
    #categoryManagerModal .category-position-form > input.input:not(.category-position-input){grid-area:name}
    #categoryManagerModal .category-position-input{grid-area:pos;width:54px!important;min-width:54px!important}
    #categoryManagerModal .category-position-form .admin-mini-btn.soft{grid-area:save;width:100%!important;height:36px!important}
    #categoryManagerModal .category-arrow-buttons{grid-area:arrows}
}


/* v151 saved categories delete + scroll fix */
#categoryManagerModal .category-manage-list{
    padding-bottom:34px!important;
    scroll-padding-bottom:34px!important;
}
#categoryManagerModal .category-manage-row{
    grid-template-columns:30px minmax(0,1fr) 54px 42px 50px 32px!important;
}
#categoryManagerModal .category-manage-row:last-child{
    margin-bottom:22px!important;
}
#categoryManagerModal .category-save-btn{
    min-width:42px!important;
    width:42px!important;
    height:38px!important;
    padding:0!important;
    font-size:10px!important;
}
#categoryManagerModal .category-delete-form{
    margin:0!important;
    display:block!important;
}
#categoryManagerModal .category-delete-btn{
    min-width:50px!important;
    width:50px!important;
    height:38px!important;
    padding:0!important;
    font-size:10px!important;
    border:0!important;
    color:#991b1b!important;
    background:#fee2e2!important;
}
#categoryManagerModal .category-arrow-buttons button{
    width:28px!important;
    min-width:28px!important;
}
@media(max-width:700px){
    #categoryManagerModal .category-manage-list{
        max-height:58vh!important;
        padding-bottom:38px!important;
    }
    #categoryManagerModal .category-manage-row{
        grid-template-columns:28px minmax(0,1fr) 50px 32px!important;
        grid-template-areas:
            "drag name pos arrows"
            "drag save del arrows"!important;
    }
    #categoryManagerModal .category-save-btn{
        grid-area:save!important;
        width:100%!important;
        min-width:0!important;
        height:34px!important;
    }
    #categoryManagerModal .category-delete-form{
        grid-area:del!important;
    }
    #categoryManagerModal .category-delete-btn{
        width:100%!important;
        min-width:0!important;
        height:34px!important;
    }
}


/* v154 Add Item button label */
.plus-add-btn.add-item-pill{
    width:auto!important;
    min-width:128px!important;
    height:46px!important;
    padding:0 16px!important;
    border-radius:17px!important;
    font-size:14px!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    white-space:nowrap!important;
}
@media(max-width:640px){
    .plus-add-btn.add-item-pill{
        min-width:112px!important;
        height:42px!important;
        font-size:13px!important;
        padding:0 12px!important;
    }
}


/* v155 Add Category beside Add Item */
.items-title-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    flex-wrap:wrap;
}
.add-category-near-btn{
    border:0;
    min-height:46px;
    padding:0 15px;
    border-radius:17px;
    color:#fff;
    background:linear-gradient(135deg,#111827,#2563eb,#7c3aed);
    font-size:14px;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(37,99,235,.22);
    white-space:nowrap;
}
@media(max-width:640px){
    .items-title-row{
        align-items:stretch!important;
    }
    .items-title-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .add-category-near-btn,
    .plus-add-btn.add-item-pill{
        width:100%!important;
        min-width:0!important;
        height:42px!important;
        font-size:13px!important;
        padding:0 10px!important;
    }
}

/* v20260830 category manager: reliable independent scrolling */
#categoryManagerModal.open{align-items:center!important;overflow:hidden!important}
#categoryManagerModal .floating-modal-card{max-height:92vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#categoryManagerModal .floating-modal-head{flex:0 0 auto!important}
#categoryManagerModal .floating-modal-body{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
#categoryManagerModal .saved-category-panel{flex:1 1 auto!important;min-height:0!important}
#categoryManagerModal .saved-category-panel.open{display:flex!important;flex-direction:column!important}
#categoryManagerModal .category-manage-list{flex:1 1 auto!important;min-height:150px!important;max-height:calc(92vh - 245px)!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-y!important;scrollbar-gutter:stable!important}
@media(max-width:700px){
  #categoryManagerModal.open{align-items:flex-start!important;padding:8px!important}
  #categoryManagerModal .floating-modal-card{max-height:94vh!important}
  #categoryManagerModal .category-manage-list{max-height:calc(94vh - 230px)!important;min-height:180px!important}
}

/* Product editor: five main images + five images per price variation */
.admin-add-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.admin-add-gallery-grid label{display:grid;gap:6px;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;font-weight:900;font-size:12px}
.admin-add-gallery-grid .input{padding:8px!important;font-size:11px!important}
.product-options-always{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.variant-image-manager{grid-column:1/-1;margin-top:10px;padding:12px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}
.variant-image-manager-title{font-weight:1000;margin-bottom:9px;display:flex;align-items:center;gap:7px}.variant-image-manager-title small{font-weight:800;color:#64748b}
.variant-image-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.variant-image-slot{position:relative;min-width:0}.variant-image-upload{width:100%;aspect-ratio:1/1;border:1px dashed #cbd5e1;border-radius:13px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:hidden;padding:5px;cursor:pointer;font-weight:1000;color:#475569}.variant-image-upload img{width:100%;height:100%;object-fit:cover;border-radius:9px}.variant-image-upload small{font-size:9px}.variant-image-slot.has-image .variant-image-upload{border-style:solid;border-color:#94a3b8}.variant-image-remove{position:absolute;right:-4px;top:-4px;width:22px;height:22px;border:0;border-radius:50%;background:#111827;color:#fff;font-weight:1000;cursor:pointer;line-height:1}.variant-image-slot.is-disabled{opacity:.55}
@media(max-width:700px){.admin-add-gallery-grid,.variant-image-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.product-options-always{grid-template-columns:1fr!important}}
